Use curses pinentry and add hidden sources for laptop

This commit is contained in:
Daniel Flanagan 2020-01-28 12:09:05 -06:00
parent 959db1b24f
commit eb48146d6d
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,3 @@
pinentry-program /usr/bin/pinentry-tty
pinentry-program /usr/bin/pinentry-curses
max-cache-ttl 60480000
default-cache-ttl 60480000

12
env/laptop/config.fish vendored Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env fish
# TODO: completion
function src-hidden-dir
not scount $argv && echo "No directory specified" && exit 1
set f $ENV_PATH/.hidden/fish.d/$argv[1]/config.fish
echo "Checking $f..."
test -f $f && source $f
end
set hc $ENV_PATH/.hidden/config.fish
test -f $hc && source $hc