From 774eaea857092a1653b684800dd5add36eb4e15b Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Tue, 5 Apr 2011 15:25:15 +0200 Subject: Some cleanup --- zsh/zshrc | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'zsh') diff --git a/zsh/zshrc b/zsh/zshrc index de084cb..663c6db 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -45,14 +45,12 @@ precmd() { fi } -# Shell stuff alias c="clear" alias ls="ls --color=auto" alias l="ls -lah" alias mkdir="mkdir -p" alias rmrf="rm -rf" -# General stuff alias g='git' alias gee='geeqie' alias gitserv="git daemon --verbose --reuseaddr --base-path=. --export-all ./.git" @@ -69,7 +67,6 @@ alias vi="vim" alias vbm="VBoxManage" alias httpd="python2 -m SimpleHTTPServer" -# Debian stuff alias agu="sudo apt-get update" alias agdu="sudo apt-get dist-upgrade" alias acs="apt-cache search" @@ -77,26 +74,21 @@ alias agi="sudo apt-get install" alias as="apt-cache show" alias purge="sudo apt-get --purge autoremove" -# Fedora stuff 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' 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 avalon='telnet avalon.mud.de 7777' - alias -g C='| wc -l' alias -g G='| grep' alias -g H='| head' @@ -105,6 +97,10 @@ alias -g L='| less' alias -s jpg=geeqie +bindkey -e +bindkey '\e[7~' beginning-of-line +bindkey '\e[8~' end-of-line + shot() { if [ "$1" != '' ]; then scrot -c -d 3 $1 -- cgit v1.2.3