summary refs log tree commit diff stats
path: root/zsh/zshrc_server
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/zshrc_server')
-rw-r--r--zsh/zshrc_server20
1 files changed, 20 insertions, 0 deletions
diff --git a/zsh/zshrc_server b/zsh/zshrc_server
new file mode 100644
index 00000000..d9d74219
--- /dev/null
+++ b/zsh/zshrc_server
@@ -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