summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--zshrc65
1 files changed, 29 insertions, 36 deletions
diff --git a/zshrc b/zshrc
index 7144820..4afa008 100644
--- a/zshrc
+++ b/zshrc
@@ -1,64 +1,51 @@
-PTIME=%{$(echo -n '\e[0;40;35m')%}%T
-PUSER=%{$(echo -n '\e[0;40;37m')%}%n
+PUSER=%{$(echo -n '\e[0;37m')%}%n
PATKI=%{$(echo -n '\e[1;37m')%}@
PHOST=%{$(echo -n '\e[1;32m')%}%m
PDOPP=%{$(echo -n '\e[1;37m')%}:
PPATH=%{$(echo -n '\e[1;32m')%}%~
PCOMM=%{$(echo -n '\e[0;37m')%}
-PROMPT="$PUSER$PATKI$PHOST$PDOPP$PPATH$PCOMM • "
+
+PROMPT="$PUSER$PATKI$PHOST$PDOPP$PPATH$PCOMM "
export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/games
export DEBEMAIL=xeno@thehappy.de
export DEBFULLNAME="Stefan Ritter"
-# Set terminal title dynamic
-case $TERM in
- rxvt*)
- precmd () {print -Pn "\e]0;%n@%m: %~\a"}
- ;;
-esac
-
HISTSIZE=1000
SAVEHIST=1000
HISTFILE=~/.zsh_history
-PATH=~/bin:$PATH
autoload -U compinit; compinit
autoload zmv
-alias ls="ls --color=auto"
-alias l="ls -laX"
+alias c="clear && fortune"
alias cp="cp -v"
+alias l="ls -la"
alias mkdir="mkdir -p"
-alias grep="grep --color=auto"
-alias g="gvim"
+alias rmrf="rm -rf"
alias v="vim"
-alias agu="sudo aptitude update"
-alias agdu="sudo aptitude dist-upgrade"
-alias acs="aptitude search"
-alias agi="sudo aptitude install"
-alias purge="sudo apt-get --purge autoremove"
-alias c="clear && fortune"
-alias s="screen -r -d"
-alias df="df -m"
+
+alias mu='mutt -F .muttrc'
+alias mu2='mutt -F .muttrc2'
+
+alias a='acpi'
+alias gitserv="git daemon --verbose --reuseaddr --base-path=. --export-all ./.git"
alias iso="genisoimage -l -J -R -o cd.iso"
-alias w="wicd-client -n"
-alias gitlog="git log --pretty=oneline --abbrev-commit"
-alias x="xine"
alias m="mocp"
alias mp="mplayer"
-alias p="ping"
-alias rmrf="rm -rf"
-alias vbm="VBoxManage"
-alias r='rdesktop-vrdp -k de -K localhost'
-alias gitserv='git daemon --verbose --reuseaddr --base-path=. --export-all ./.git'
-alias mud='telnet bl.mud.at 5678'
-alias mu='mutt -F .muttrc'
-alias mu2='mutt -F .muttrc2'
alias n='newsbeuter'
-alias a='acpi'
+alias r="rdesktop-vrdp -k de -K localhost"
+alias s="screen -r -d"
+alias t="tmux a"
alias tmux='tmux -u'
-alias t='tmux a'
+alias vbm="VBoxManage"
+alias w="wicd-client -n"
+
+alias agu="sudo aptitude update"
+alias agdu="sudo aptitude dist-upgrade"
+alias acs="aptitude search"
+alias agi="sudo aptitude install"
+alias purge="sudo apt-get --purge autoremove"
alias svn-uscan='uscan --verbose --force-download --rename --repack --destdir=../tarballs'
alias svn-bp='svn-buildpackage --svn-builder=pdebuild --svn-ignore-new'
@@ -93,3 +80,9 @@ md() {
mkdir $1
cd $1
}
+
+case $TERM in
+ rxvt*)
+ precmd () {print -Pn "\e]0;%n@%m: %~\a"}
+ ;;
+esac