aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/.zprofile
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-08-08 18:07:58 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2014-08-08 18:07:58 +0200
commit8d8087937147247a85e6b00044921f1e20b4b60c (patch)
tree42d6d2d1ac5dbdd29fe290c3434402d6a865ce79 /zsh/.zprofile
parent39b2f9ebffed0b215fbf36a1af8dabc110c31893 (diff)
downloaddotfiles-8d8087937147247a85e6b00044921f1e20b4b60c.tar.xz
zprofile: add PREFIX, HOSTNAME and FQDN
Diffstat (limited to 'zsh/.zprofile')
-rw-r--r--zsh/.zprofile5
1 files changed, 5 insertions, 0 deletions
diff --git a/zsh/.zprofile b/zsh/.zprofile
index 52a6947..efe4009 100644
--- a/zsh/.zprofile
+++ b/zsh/.zprofile
@@ -12,6 +12,8 @@ export XAUTHORITY="$XDG_RUNTIME_DIR"/X11/authority
export ABSROOT="$HOME"/build/abs
+export PREFIX="$HOME"/.local
+
export EDITOR=vim
export VISUAL=vim
export VIMINIT='source $XDG_CONFIG_HOME/vim/vimrc'
@@ -33,6 +35,9 @@ export GTK_IM_MODULE=xim
export SUDO_PROMPT=$'\e[31mSUDO\e[m password for \e[34m%p\e[m: '
+export HOSTNAME=$(hostname -s)
+export FQDN=$(hostname -f)
+
# LS_COLORS is now required for `ls` to use colour
eval "$(dircolors -b ~/.config/dircolors)"