summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2011-04-05 15:25:15 +0200
committerStefan Ritter <xeno@thehappy.de>2011-04-05 15:25:15 +0200
commit774eaea857092a1653b684800dd5add36eb4e15b (patch)
tree567d48e4ec2fe701ee056c90db73ef453ca97290
parent5030fa55c85578831e033bebc2291189abdd6cb1 (diff)
Some cleanup
-rw-r--r--zsh/zshrc12
1 files changed, 4 insertions, 8 deletions
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