Move path manipulation back to .zprofile
This commit is contained in:
parent
e68f45b48b
commit
7e2091503b
2 changed files with 16 additions and 7 deletions
16
.zprofile
16
.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
|
||||
|
|
7
.zshrc
7
.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"
|
||||
|
|
Loading…
Reference in a new issue