summaryrefslogtreecommitdiff
path: root/bash-completion/pass-bash-completion.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bash-completion/pass-bash-completion.sh')
-rw-r--r--bash-completion/pass-bash-completion.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bash-completion/pass-bash-completion.sh b/bash-completion/pass-bash-completion.sh
index 2decd7c..8ddc377 100644
--- a/bash-completion/pass-bash-completion.sh
+++ b/bash-completion/pass-bash-completion.sh
@@ -1,4 +1,8 @@
# completion file for bash
+
+# (C) Copyright 2012 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+# This is released under the GPLv2+. Please see COPYING for more information.
+
_pass()
{
local cur prev prefix suffix gen
s.git/tag/?h=1.6.4'>1.6.4Jason A. Donenfeld1-1/+1 2015-01-27Strip ".gpg" from symlinks as wellTheo Chatzimichos1-2/+2 Symlinks inside password-store make sense when using passff in firefox, and have the same LDAP password in different websites. In order to have passff working correctly then, we need to strip the .gpg extension from symlinks as well. Example output of `pass find site1` or `pass | grep site1` before this commit: site1.job.com.gpg -> site2.job.com and after: site1.job.com -> site2.job.com 2015-01-19clip: Show an error message if xclip returns a non-zero exit codeWieland Hoffmann1-3/+2 xclip will return a non-zero exit code if $DISPLAY is not set, which might happen, for example, if you're running pass in a tmux session remotely or something like that. xclip itself will also show an error message ("Can't open display") which provides enough context to figure out what the problem is. There might be other reasons for xclip to return a non-zero exit code, but the man page doesn't list them. 2015-01-19Correct path for top level grepJason A. Donenfeld1-2/+3