From 7d8493f63daf93beb4c82d0c9602fc21974daca7 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 1 Nov 2013 07:49:20 +0000 Subject: zsh: rename auxillary files with extension --- zsh/server.zsh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 zsh/server.zsh (limited to 'zsh/server.zsh') diff --git a/zsh/server.zsh b/zsh/server.zsh new file mode 100644 index 0000000..d9d7421 --- /dev/null +++ b/zsh/server.zsh @@ -0,0 +1,20 @@ +# -*- shell-script -*- + +export SVDIR=/service +if [[ "$EUID" == "0" ]] || [[ "$USER" == "root" ]] +then + export EDITOR="emacs -nw" +else + export ALTERNATE_EDITOR="emacs" + export EDITOR="emacsclient" +fi + +mailpath= + +# Folder aliases +hash -d music=/tank/media/Music + +zstyle ':completion:*' local server /tank/www/internal '' +zstyle ':completion:*' local external /tank/www/external +zstyle ':completion:*' local alphapulsar.uk.to /tank/www/gaming +zstyle ':completion:*' local home.alanpearce.co.uk /tank/www/external -- cgit 1.4.1