set EDITOR for dev-server
Signed-off-by: Michael Grote <michael.grote@dataport.de>
This commit is contained in:
parent
78109b3894
commit
e9a3bf7d8c
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ if [[ $- == *i* ]] ; then
|
|||
### keychain
|
||||
export GPG_TTY=$(tty)
|
||||
fi
|
||||
if [ "$(hostname -s)" == "lzeorpt001" ] ; then
|
||||
export EDITOR="/usr/bin/vim"
|
||||
fi
|
||||
### tmux auto attach
|
||||
if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
|
||||
tmux attach -t default || tmux new -s default
|
||||
|
|
Loading…
Reference in a new issue