Set EDITOR to Sublime Text if it is installed
This commit is contained in:
parent
bcf45726bf
commit
759ae7724f
1 changed files with 4 additions and 0 deletions
|
@ -224,6 +224,10 @@ if [ -x /usr/bin/yum ] && [ ! -x /usr/bin/dnf ]; then
|
||||||
alias dnf='yum'
|
alias dnf='yum'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test -n "$DISPLAY" && test -x /usr/bin/subl; then
|
||||||
|
export EDITOR="/usr/bin/subl -nw"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -x /usr/bin/svnlite ] && [ ! -x /usr/local/bin/svn ]; then
|
if [ -x /usr/bin/svnlite ] && [ ! -x /usr/local/bin/svn ]; then
|
||||||
alias svn='svnlite'
|
alias svn='svnlite'
|
||||||
alias svnadmin='svnliteadmin'
|
alias svnadmin='svnliteadmin'
|
||||||
|
|
Loading…
Reference in a new issue