More linux-friendly aliases file
This commit is contained in:
parent
0bcd953e19
commit
3fc296deb6
12
zsh/aliases
12
zsh/aliases
|
@ -2,7 +2,7 @@
|
||||||
# Aliases #
|
# Aliases #
|
||||||
#############
|
#############
|
||||||
|
|
||||||
alias ls='ls -G'
|
alias ls='ls -G --color'
|
||||||
alias ll='ls -l'
|
alias ll='ls -l'
|
||||||
alias la='ls -la'
|
alias la='ls -la'
|
||||||
alias l.='ls -Ad .*'
|
alias l.='ls -Ad .*'
|
||||||
|
@ -16,7 +16,9 @@ alias wget='wget -c'
|
||||||
alias rb='ruby'
|
alias rb='ruby'
|
||||||
alias py='python'
|
alias py='python'
|
||||||
alias js='node'
|
alias js='node'
|
||||||
alias love="/Applications/love.app/Contents/MacOS/love"
|
if is_mac; then
|
||||||
|
alias love="/Applications/love.app/Contents/MacOS/love"
|
||||||
|
fi
|
||||||
|
|
||||||
# tmux
|
# tmux
|
||||||
alias t='tmux'
|
alias t='tmux'
|
||||||
|
@ -73,8 +75,12 @@ elif is_mac; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# vim
|
# vim
|
||||||
if command_exists mvim && [[ ! -n $SSH_CLIENT ]]; then
|
if [[ ! -n $SSH_CLIENT ]]; then
|
||||||
|
if command_exists mvim; then
|
||||||
alias v='mvim'
|
alias v='mvim'
|
||||||
|
else
|
||||||
|
alias v='gvim'
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
alias v='vim'
|
alias v='vim'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue