From aed3f2f54e6e9d781ae1b52f18fa22bd10b25416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20P=C5=82azie=C5=84ski?= Date: Wed, 16 Dec 2015 23:00:48 +0100 Subject: [PATCH] added su alias --- .zshrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index f1ae207..925381e 100644 --- a/.zshrc +++ b/.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