diff options
author | Alan Pearce | 2014-04-12 13:15:53 +0100 |
---|---|---|
committer | Alan Pearce | 2014-04-12 13:15:53 +0100 |
commit | 81c8016d1e296ed91af69f2d5bf435d7d657af04 (patch) | |
tree | bbccda0a7e252ce2f90bfd648fa7b5edb7d45920 /tag-zsh/config/zsh/server.zsh | |
parent | 9dd9b2972c4c526109f4fb57f936b67290ace003 (diff) | |
download | nixfiles-81c8016d1e296ed91af69f2d5bf435d7d657af04.tar.lz nixfiles-81c8016d1e296ed91af69f2d5bf435d7d657af04.tar.zst nixfiles-81c8016d1e296ed91af69f2d5bf435d7d657af04.zip |
Restructure everything to use rcm
https://github.com/thoughtbot/rcm
Diffstat (limited to 'tag-zsh/config/zsh/server.zsh')
-rw-r--r-- | tag-zsh/config/zsh/server.zsh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/server.zsh b/tag-zsh/config/zsh/server.zsh new file mode 100644 index 00000000..d9d74219 --- /dev/null +++ b/tag-zsh/config/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 |