[pass] [PATCH] Make `clip` a command.
David Logie
djl at mksh.org
Fri Sep 30 23:13:24 CEST 2016
This is useful for pass users who have wrapper scripts around pass and
wish to reuse the clipboard functionality without having to duplicate
any code.
---
src/password-store.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/password-store.sh b/src/password-store.sh
index 63be840..f95d26e 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -592,6 +592,7 @@ case "$1" in
rename|mv) shift; cmd_copy_move "move" "$@" ;;
copy|cp) shift; cmd_copy_move "copy" "$@" ;;
git) shift; cmd_git "$@" ;;
+ clip) shift; clip "$@" ;;
*) COMMAND="show"; cmd_show "$@" ;;
esac
exit 0
--
2.10.0
More information about the Password-Store
mailing list