]>
git.gir.st - sendHID.git/blob - pass-installer.sh
3 git clone https
://git.zx2c4.com
/password-store
5 tee pass-patch.
diff <<-EOF
6 --- password-store.sh 2016-02-13 13:55:05.704497345 +0100
7 +++ password-store-modified.sh 2016-02-13 14:02:17.412565405 +0100
12 - tree -C -l --noreport "$PREFIX/$path" | tail -n +2 | sed -E 's/\.gpg(\x1B\[[0-9]+m)?( ->|$)/\1\2/g' # remove .gpg at end of line, but keep colors
13 + #tree -C -l --noreport "$PREFIX/$path" | tail -n +2 | sed -E 's/\.gpg(\x1B\[[0-9]+m)?( ->|$)/\1\2/g' # remove .gpg at end of line, but keep colors
14 + tree -f -i -l --noreport "$PREFIX/$path" | tail -n +2 |grep "\.gpg"| sed 's/\.gpg\(\x1B\[[0-9]\+m\)\{0,1\}\( ->\|$\)/\1\2/g' | sed "s|$PREFIX/||g"
15 elif [[ -z $path ]]; then
16 die "Error: password store is empty. Try \"pass init\"."
19 patch <pass-patch.
diff
24 echo "you can now use PASSWORD_STORE_GPG_OPTS=\"your_passphrase\" pass show foo/bar |head -n 1"