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,6 +58,7 @@ alias make="make -j$(nproc)"
alias dd='dd status=progress' alias dd='dd status=progress'
alias env='env | sort' alias env='env | sort'
alias ssh="ssh -tt" alias ssh="ssh -tt"
vim --version 2>/dev/null | command grep -q +clientserver && \
alias vim="vim --servername vim -p" alias vim="vim --servername vim -p"
alias vi=vim alias vi=vim
alias grip='grip --user=frebib --pass=$GRIP_API_KEY' alias grip='grip --user=frebib --pass=$GRIP_API_KEY'