Skip to content
Browse files

alias a=sudo aptitude

  • Loading branch information...
1 parent 79ad49e commit c507d6a01e66e293b0db1e5eae0b0bbb09e19312 @bosha committed Jul 29, 2011
Showing with 5 additions and 1 deletion.
  1. +2 −1 .zsh/aliases.sh
  2. +3 −0 .zsh/prompt.sh
View
3 .zsh/aliases.sh
@@ -9,7 +9,6 @@ alias mv='nocorrect mv --verbose --interactive'
alias rm='nocorrect rm -Irv'
alias grep='grep --color=always'
-#alias grep='grep --color=auto'
alias du='du --human-readable --total'
alias df='df --human-readable'
@@ -28,6 +27,7 @@ alias rm='rm -v'
alias cp='cp -v'
alias mv='mv -v'
alias k='killall'
+alias a='sudo aptitude'
alias -s {avi,mpeg,mpg,mov,m2v}=smplayer
alias -s {odt,doc,sxw,rtf}=openoffice.org
@@ -64,5 +64,6 @@ alias free="free -t -m"
alias git="nocorrect git"
alias scrot="scrot --border --count --quality 75 $HOME'/screenshots/%d-%b-%y_%H-%M-%S_\$wx\$h.png' --exec 'du -h \$f'"
+
alias aptitude="sudo aptitude"
alias ifconfig="sudo ifconfig"
View
3 .zsh/prompt.sh
@@ -2,3 +2,6 @@
# vim: set filetype=zsh
PROMPT=$'%B%{\e[0;36m%}┌─[%{\e[0;33m%}%n%{\e[0;36m%}@%{\e[0;33m%}%m%{\e[0;36m%}]──(%{\e[0;33m%}%~%{\e[0;36m%})\n└─[%{\e[0;39m%}%# %{\e[0;36m%}>%b'
+#PROMPT=$'%B%{\e[0;36m%}%{\e[0;33m%}%n%{\e[0;36m%}@%{\e[0;33m%}%m%{\e[0;36m%} \e[0;33m%}%~%{\e[0;36m%}\n\e[0;39m%}\e[0;36m%} >%b '
+
+#PROMPT=$'\n\[\033[0;32m\]\u@\h \[\033[1;33m\]\w\n\[\033[0m\]> '

0 comments on commit c507d6a

Please sign in to comment.
Something went wrong with that request. Please try again.