diff --git a/apps/gpg/gpg-agent.conf b/apps/gpg/gpg-agent.conf index 90d709e..aefe8af 100644 --- a/apps/gpg/gpg-agent.conf +++ b/apps/gpg/gpg-agent.conf @@ -1,3 +1,3 @@ -pinentry-program /usr/bin/pinentry-tty +pinentry-program /usr/bin/pinentry-curses max-cache-ttl 60480000 default-cache-ttl 60480000 diff --git a/env/laptop/config.fish b/env/laptop/config.fish new file mode 100755 index 0000000..8d5133b --- /dev/null +++ b/env/laptop/config.fish @@ -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