summaryrefslogtreecommitdiff
path: root/contrib/importers/keepassx2pass.py
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2021-05-18 22:59:25 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2021-05-18 23:03:08 +0200
commit4e73cdc4c376ad61d2e4858bc87cf01eab0dd403 (patch)
tree1c6898665e32ff9d2212e2daf33d2f3cdaf47edc /contrib/importers/keepassx2pass.py
parent918992c19231b33b3d4a3288a7288a620e608cb4 (diff)
downloadpass-4e73cdc4c376ad61d2e4858bc87cf01eab0dd403.tar.gz
pass-4e73cdc4c376ad61d2e4858bc87cf01eab0dd403.tar.bz2
pass-4e73cdc4c376ad61d2e4858bc87cf01eab0dd403.zip
fish-completion: don't print full path when PASSWORD_STORE_DIR is set
"__fish_pass_print" enumerates all files in the password store and uses sed to strip their common prefix - the password store directory. If $PASSWORD_STORE_DIR had a trailing slash, sed would fail to remove the prefix. Fix this by canonicalizing $PASSWORD_STORE_DIR.
Diffstat (limited to 'contrib/importers/keepassx2pass.py')
0 files changed, 0 insertions, 0 deletions