diff --git a/gen.bash b/gen.bash index f5ece84..8a8b052 100755 --- a/gen.bash +++ b/gen.bash @@ -24,10 +24,10 @@ if [ ! -z "$user" ]; then fi echo "$password -$userline" | pbcopy +$userline" | xclip -i -selection clipboard pass edit $passname -echo -n $password | pbcopy +echo -n $password | xclip -i -selection clipboard -$HOME/bin/sync +$HOME/bin/syncup diff --git a/setup.sh b/setup.sh index 09faa0a..48a0760 100755 --- a/setup.sh +++ b/setup.sh @@ -1,3 +1,3 @@ #!/bin/sh -mkdir -p /usr/local/lib/password-store/extensions -ln -s `pwd`/gen.bash /usr/local/lib/password-store/extensions/gen.bash +mkdir -p /usr/lib/password-store/extensions +ln -s `pwd`/gen.bash /usr/lib/password-store/extensions/gen.bash