summaryrefslogtreecommitdiffstats
path: root/zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--zsh/zshrc25
1 files changed, 11 insertions, 14 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index 5b1bb7b..b3dd3e6 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -1,17 +1,8 @@
-#PUSER=%{$(echo -n '\e[0;37m')%}%n
-#PATKI=%{$(echo -n '\e[0;37m')%}@
-#PHOST=%{$(echo -n '\e[1;33m')%}%m
-#PDOPP=%{$(echo -n '\e[1;37m')%}:
-#PPATH=%{$(echo -n '\e[1;30m')%}%~
-#PCOMM=%{$(echo -n '\e[0;37m')%}
-
-#PROMPT="$PUSER$PATKI$PHOST$PDOPP$PPATH$PCOMM "
-
PROMPT="%~%(1v.%F{green}%1v%f.)%F{red}%2v%f %% "
zstyle ':completion:*' special-dirs true
zstyle ':completion:*:*:kill:*' menu yes select
-zstyle ':completion:*:kill:*' force-list always
+zstyle ':completion:*:kill:*' force-list always
zmodload -a zsh/complist complist
@@ -22,7 +13,6 @@ setopt listtypes
setopt extended_glob
setopt always_to_end
setopt auto_param_slash
-
setopt append_history
setopt share_history
setopt hist_ignore_dups
@@ -56,12 +46,11 @@ precmd() {
}
# Shell stuff
-alias c="clear && fortune"
+alias c="clear"
alias ls="ls --color=auto"
alias l="ls -lah"
alias mkdir="mkdir -p"
alias rmrf="rm -rf"
-alias v="vim"
# General stuff
alias g='git'
@@ -70,11 +59,13 @@ alias gitserv="git daemon --verbose --reuseaddr --base-path=. --export-all ./.gi
alias iso="genisoimage -l -J -R -o cd.iso"
alias m="mocp"
alias p="pal -r 7"
-alias q='quilt'
+alias q="quilt"
alias r="rdesktop-vrdp -k de -K localhost"
alias s="screen -r -d"
alias t="tmux a"
alias tmux='tmux -u'
+alias v="vim"
+alias vi="vim"
alias vbm="VBoxManage"
alias httpd="python -m SimpleHTTPServer"
@@ -91,6 +82,12 @@ alias yi="sudo yum install"
alias yr="sudo yum remove"
alias ys="yum search"
+# Arch stuff
+alias pi="sudo pacman -S"
+alias pss="pacman -Ss"
+alias pu="sudo pacman -Syu"
+alias pr="sudo pacman -Rs"
+
# VCS stuff
alias svn-uscan='uscan --verbose --force-download --rename --repack --destdir=../tarballs'
alias svn-bp='svn-buildpackage --svn-builder=pdebuild --svn-ignore-new'