From 94ad9e2711eb07339cbb99fefaebfce95dae3920 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 7 Jun 2008 00:50:37 +0200 Subject: Finished the linux: stuff --- etc/completion | 5 ++++- etc/modules | 6 ++++++ etc/variables | 12 ++++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 etc/modules create mode 100644 etc/variables 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 -- cgit v1.2.3