1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Only start Vim with --servername if supported

This commit is contained in:
Joe Groocock 2018-04-21 00:08:53 +01:00
parent 4579473479
commit ff4bdb5ec2
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -58,7 +58,8 @@ alias make="make -j$(nproc)"
alias dd='dd status=progress'
alias env='env | sort'
alias ssh="ssh -tt"
alias vim="vim --servername vim -p"
vim --version 2>/dev/null | command grep -q +clientserver && \
alias vim="vim --servername vim -p"
alias vi=vim
alias grip='grip --user=frebib --pass=$GRIP_API_KEY'
alias acme.sh='$XDG_CONFIG_HOME/acme.sh/acme.sh --home $XDG_CONFIG_HOME/acme.sh --config-home $XDG_CONFIG_HOME/acme.sh --log $XDG_CONFIG_HOME/acme.sh/acme.sh.log'