summary refs log tree commit diff stats
path: root/zsh/zshrc_server
blob: d9d7421955f1b148cd1f34fd8bf1160a95403435 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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