summaryrefslogtreecommitdiffstats
path: root/config/sh/env
diff options
context:
space:
mode:
Diffstat (limited to 'config/sh/env')
-rw-r--r--config/sh/env6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/sh/env b/config/sh/env
index 218ddde..dd54019 100644
--- a/config/sh/env
+++ b/config/sh/env
@@ -1,7 +1,9 @@
-export GPG_TTY=$(tty)
+GPG_TTY=$(tty)
+export GPG_TTY
export MANPAGER="$HOME/.bin/vimmanpager"
export PERLDOC_PAGER="$HOME/.bin/vimmanpager"
-export EDITOR=$(/usr/bin/which vim)
+EDITOR=$(command -v vim)
+export EDITOR
ssh="${HOME}/.bin/$(hostname)/ssh"
if [ -x "$ssh" ]; then
export GIT_SSH="$ssh"