diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-10-29 03:13:31 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-10-29 03:13:31 -0400 |
commit | 243e280b5fd9527891a58d6578f2e659302908c7 (patch) | |
tree | 1443d96e6824c8e04355c2f1fb2c562a9afe2132 /sh | |
parent | db8dd3e6140e66db46f309bff9054ba137eb797a (diff) | |
download | conf-243e280b5fd9527891a58d6578f2e659302908c7.tar.gz conf-243e280b5fd9527891a58d6578f2e659302908c7.zip |
just use hostnames for this stuff
i don't really want another level of indirection
Diffstat (limited to 'sh')
-rw-r--r-- | sh/env | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -3,8 +3,11 @@ export MPD_HOST=bishamon export MANPAGER="$HOME/.bin/vimmanpager" export PERLDOC_PAGER="$HOME/.bin/vimmanpager" export EDITOR=$(/usr/bin/which vim) -[ "$(cat "${HOME}/conf/.conf-type")" = "laptop" ] && export GIT_SSH="$HOME/.bin/laptop/ssh" -[ "$(cat "${HOME}/conf/.conf-type")" = "laptop" ] && export RSYNC_RSH="$HOME/.bin/laptop/ssh" +ssh="${HOME}/.bin/$(hostname)/ssh" +if [ -x "$ssh" ]; then + export GIT_SSH="$ssh" + export RSYNC_RSH="$ssh" +fi export TEXINPUTS=".:$HOME/conf/tex:" export LESS='-QR' export NOPASTE_SERVICES="ssh" |