1.5 KiB
+++ title = "Gibheers zsh-config" date = "2009-09-19T20:47:00+00:00" author = "Gibheer" draft = false +++
Da jemand nach teilen meiner zsh-config gefragt hatte, stelle ich sie hier einfach mal komplett vor bzw. zum download bereit.
Mit “bild hoch” und runter kann man einen Befehl anhand der Eingabe wieder raussuchen, mit pos1 und ende in der Zeile an den Anfang oder das Ende springen. Auch backspace funktioniert, wie man es erwartet :D
Wenn ihr Teile daraus gebrauchen koennt, dann viel Spass damit. (config ist im weiteren Anhang des Eintrages)
source:sh
source ~/.profile
autoload Uz compinitQv ‘(**/)(*)(.D)’ ‘$1${(L)2}’"
autoload colors ; colors
autoload zmv
compinit
HISTFILE=~/.histfile
HISTSIZE=2000
SAVEHIST=2000
setopt appendhistory nomatch
unsetopt autocd beep extendedglob notify
alias su=‘su ’G’
alias ls=’ls
alias nano=‘nano w’l 3’
alias log=’hg log
alias status=‘hg status’
alias dir_to_lower="zmv
PS1=“$(print ‘{\e[1;31m%} ~ {\e[0m%}’)”
RPS1=“$(print ‘{\e[0m%}’)”
bindkey -v ‘^[[3~’\\ delete-char
bindkey\\ -v\\ ’^[[4~’\ end-of-line
bindkey\ v\ ’^[OF’\\ end-of-linev\ ’^[[6~’ history-beginning-search-forward\
bindkey\\ -v\\ ’^[[1~’\\ beginning-of-line
bindkey\\ -v\\ ’^[OH’\\\ beginning-of-line
bindkey\\\ -v\\\ ’^[[5~’\ history-beginning-search-backward
bindkey