diff options
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/zshrc | 54 |
1 files changed, 1 insertions, 53 deletions
@@ -27,10 +27,6 @@ unset correct export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/games:~/etc/bin/ export EMAIL=xeno@thehappy.de -export DEBEMAIL=xeno@thehappy.de -export DEBFULLNAME="Stefan Ritter" -export QUILT_PATCHES=debian/patches -export QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index" export EDITOR="vim" HISTSIZE=1000 @@ -49,21 +45,13 @@ alias pg="pgrep -fl" alias rmrf="rm -rf" alias g='git' -alias gee='geeqie' alias gitserv="git daemon --verbose --reuseaddr --base-path=. --export-all ./.git" alias iso="genisoimage -l -J -R -o cd.iso" alias m="mtr --curses" -alias p="pal -r 7" -alias q="quilt" -alias r="rdesktop-vrdp -k de -K localhost" alias s="screen -r -d" -alias t="task" -alias tmux='tmux -u' alias v="vim" alias vi="vim" -alias vbm="VBoxManage" alias httpd="python2 -m SimpleHTTPServer" -alias unp="aunpack" alias agu="sudo apt-get update" alias agdu="sudo apt-get dist-upgrade" @@ -72,27 +60,6 @@ alias agi="sudo apt-get install" alias as="apt-cache show" alias purge="sudo apt-get --purge autoremove" -alias yi="sudo yum install" -alias yr="sudo yum remove" -alias ys="yum search" - -if [ -e /usr/bin/yaourt ]; then - pacman_bin='yaourt' -else - pacman_bin='pacman' -fi - -alias pi="sudo $pacman_bin -S" -alias pss="$pacman_bin -Ss" -alias pu="sudo $pacman_bin -Syu" -alias pr="sudo $pacman_bin -Rcsn" - -alias svn-uscan='uscan --verbose --force-download --rename --repack --destdir=../tarballs' -alias svn-bp='svn-buildpackage --svn-builder=pdebuild --svn-ignore-new' -alias gendebpool='dpkg-scanpackages -m . /dev/null | gzip -9c > Packages.gz' -alias git-bp='git-buildpackage --git-ignore-new --git-tarball-dir=/home/xeno/debian/tarballs/ --git-upstream-branch=upstream --git-debian-branch=master --git-builder=pdebuild --debbuildopts "-i"' -alias sfnv='uscan --verbose --no-symlink --rename' - alias -g C='| wc -l' alias -g G='| grep' alias -g H='| head' @@ -108,7 +75,7 @@ bindkey '\e[8~' end-of-line shot() { if [ "$1" != '' ]; then scrot -c -d 3 $1 - scp $1 xeno:public_html/pub/ + scp $1 xeno:public_html/ rm $1 else scrot -c -d 3 @@ -120,23 +87,4 @@ md() { cd $1 } -automon() { - vga=$(xrandr -q | while read line; do if [[ $line =~ ^VGA1.*$ ]] { echo $line | cut -d " " -f 2 }; done) - if [[ $vga = "disconnected" ]] { - xrandr --output LVDS1 --auto --output VGA1 --off - } else { - xrandr --output LVDS1 --off --output VGA1 --auto - } -} - -vpn() { - sudo openvpn --config /etc/openvpn/$1 -} - -#case $TERM in -# rxvt*) -# precmd () {print -Pn "\e]0;%n@%m: %~\a"} -# ;; -#esac - cd ~/ |