From 926c3860ad0ce0464eaad00804556b204b1b7d71 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 13 Dec 2017 12:26:48 +0100 Subject: Split zsh configuration in several file This allows the environment defined in .zshenv to be available when running commands with 'ssh user@host command' --- zsh/.zsh/.zprofile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 zsh/.zsh/.zprofile (limited to 'zsh/.zsh/.zprofile') diff --git a/zsh/.zsh/.zprofile b/zsh/.zsh/.zprofile new file mode 100644 index 0000000..13942bb --- /dev/null +++ b/zsh/.zsh/.zprofile @@ -0,0 +1,8 @@ +export EDITOR=vim +export HISTSIZE=1000000 + +# We need to reset $PATH because /etc/profile is read after ~/.zshenv +export PATH="$HOME/bin:$HOME/.guix-profile/bin:$HOME/bin:/usr/lib/surfraw${PATH:+:}$PATH" + +# Start X automatically +[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx -- cgit v1.2.3