diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-07 00:50:37 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-07 00:50:37 +0200 |
commit | 94ad9e2711eb07339cbb99fefaebfce95dae3920 (patch) | |
tree | 746bfe82b08e060a989d5e66d12fb14516b0b5e1 /etc | |
parent | b300d588047737038a220f6957292d4cc3a0ebaf (diff) |
Finished the linux: stuff
Diffstat (limited to 'etc')
-rw-r--r-- | etc/completion | 5 | ||||
-rw-r--r-- | etc/modules | 6 | ||||
-rw-r--r-- | etc/variables | 12 |
3 files changed, 22 insertions, 1 deletions
diff --git a/etc/completion b/etc/completion index 9a1f84f..e7a118c 100644 --- a/etc/completion +++ b/etc/completion @@ -1,7 +1,10 @@ ## vim:ft=zsh +zstyle :compinstall filename "$HOME/.zshrc" [ $uname = Linux ] && zstyle ':completion:*' list-colors $(dircolors $HOME/packages/zsh/etc/dircolors | head -n 1 | sed -r 's/LS_COLORS=|;$//g') # Mark the current selection when tabbing through possible completions zstyle ':completion:*' menu select=1 # Also complete uppercase names with lowercase -zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' '' +zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' '' + +_hosts() { compadd alpha beta gamma kraftwerk delta epsilon zeta eta saviour theta iota kappa nemesis lambda;} diff --git a/etc/modules b/etc/modules new file mode 100644 index 0000000..e9446ee --- /dev/null +++ b/etc/modules @@ -0,0 +1,6 @@ +## vim:ft=zsh +autoload -Uz compinit +autoload colors +autoload zargs +compinit -C +colors diff --git a/etc/variables b/etc/variables new file mode 100644 index 0000000..20cb06f --- /dev/null +++ b/etc/variables @@ -0,0 +1,12 @@ +## vim:ft=zsh +HISTFILE=~/.histfile +HISTSIZE=10000 +SAVEHIST=$HISTSIZE +DIRSTACKSIZE=20 +export PATH=$HOME/bin:$PATH +export EDITOR==vim +export MPD_HOST=saviour +linux: export LANG=en_US.UTF-8 +openbsd: export PKG_PATH="ftp://ftp.freenet.de/pub/ftp.openbsd.org/pub/OpenBSD/`uname -r`/packages/`machine -a`/:ftp://openbsd.ftp.fu-berlin.de/pub/OpenBSD/`uname -r`/packages/`machine -a`/" +export HOST +linux: [ -z "$MANPATH" ] && export MANPATH=$(manpath):$HOME/packages/.collected/man |