diff --git a/.zprofile b/.zprofile index f850af7..56459c8 100644 --- a/.zprofile +++ b/.zprofile @@ -1,6 +1,22 @@ export BROWSER=conkeror export EDITOR="emacsclient -c -a emacs" +function add-to-list() +{ + source "$HOME"/.zsh/functions/add-to-list +} + +add-to-list PATH "$HOME/usr/bin" +add-to-list PATH "/usr/local/clark/bin" t +export PATH + +add-to-list INFOPATH "$HOME/documents/info" +add-to-list INFOPATH "$HOME/.emacs.d/vendor-lisp/org/doc" +add-to-list INFOPATH "/usr/share/info" t +add-to-list INFOPATH "/usr/local/share/info" t +add-to-list INFOPATH "/usr/local/clark/share/info" t +export INFOPATH + if [ -z "$SSH_AGENT_PID" ]; then eval `ssh-agent` fi diff --git a/.zshrc b/.zshrc index 8971f33..63b9fe4 100644 --- a/.zshrc +++ b/.zshrc @@ -68,13 +68,6 @@ case $TERM in ;; esac -add-to-list PATH "$HOME/usr/bin" -add-to-list PATH "/usr/local/clark/bin" t - -add-to-list INFOPATH "$HOME/documents/info" -add-to-list INFOPATH "$HOME/.emacs.d/vendor-lisp/org/doc" -add-to-list INFOPATH "/usr/local/clark/share/info" t - export XDG_CACHE_HOME="$HOME/.cache" export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$HOME/.local/share"