added su alias

This commit is contained in:
Paweł Płazieński 2015-12-16 23:00:48 +01:00
parent a119d1fe2e
commit aed3f2f54e

6
.zshrc
View File

@ -70,8 +70,6 @@ export HISTFILE=~/.zsh_history
export HISTSIZE=1000000
export SAVEHIST=1000000
#---------------------------------- Prompt ------------------------------------
# Based on agnoster's Theme - https://gist.github.com/3712874
@ -351,6 +349,10 @@ zle -N up-line-or-local-history
bindkey "\e[A" up-line-or-local-history
bindkey "\e[B" down-line-or-local-history
#---------------------------------- Aliases ----------------------------------
alias su="sudo -u root -i"
#---------------------------------- Miscellaneous ----------------------------
setopt autocd