no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | brot_zshrc [2012/04/15 17:49] (current) – created brot | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Beispiel .zshrc für eine " | ||
+ | Die zsh ist eine Linux/ | ||
+ | ===== brots .zshrc ===== | ||
+ | < | ||
+ | # The following lines were added by compinstall | ||
+ | |||
+ | zstyle ': | ||
+ | zstyle : | ||
+ | |||
+ | autoload -Uz compinit | ||
+ | compinit | ||
+ | # End of lines added by compinstall | ||
+ | # Lines configured by zsh-newuser-install | ||
+ | HISTFILE=~/ | ||
+ | HISTSIZE=5000 | ||
+ | SAVEHIST=5000 | ||
+ | setopt appendhistory autocd extendedglob notify | ||
+ | bindkey -e | ||
+ | # End of lines configured by zsh-newuser-install | ||
+ | |||
+ | autoload -U promptinit | ||
+ | promptinit | ||
+ | prompt gentoo | ||
+ | |||
+ | alias emerge=' | ||
+ | |||
+ | # create a zkbd compatible hash; | ||
+ | # to add other keys to this hash, see: man 5 terminfo | ||
+ | typeset -A key | ||
+ | |||
+ | key[Home]=${terminfo[khome]} | ||
+ | key[End]=${terminfo[kend]} | ||
+ | key[Insert]=${terminfo[kich1]} | ||
+ | key[Delete]=${terminfo[kdch1]} | ||
+ | key[PageUp]=${terminfo[kpp]} | ||
+ | key[PageDown]=${terminfo[knp]} | ||
+ | |||
+ | # setup key accordingly | ||
+ | [[ -n " | ||
+ | [[ -n " | ||
+ | [[ -n " | ||
+ | [[ -n " | ||
+ | [[ -n " | ||
+ | |||
+ | bindkey '; | ||
+ | bindkey '; | ||
+ | |||
+ | # Finally, make sure the terminal is in application mode, when zle is | ||
+ | # active. Only then are the values from $terminfo valid. | ||
+ | function zle-line-init () { | ||
+ | echoti smkx | ||
+ | } | ||
+ | function zle-line-finish () { | ||
+ | echoti rmkx | ||
+ | } | ||
+ | zle -N zle-line-init | ||
+ | zle -N zle-line-finish | ||
+ | </ | ||
+ | |||
+ | Danach sieht die Shell ähnlich aus wie die gewohnte Gentoo-bash, |