added su alias
This commit is contained in:
parent
a119d1fe2e
commit
aed3f2f54e
6
.zshrc
6
.zshrc
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user