diff options
author | Urbain Vaes <urbain@vaes.uk> | 2016-04-09 17:19:49 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2016-04-09 17:19:49 +0100 |
commit | c8fb4a598c6067944d4d4ea3c13856f28167f4e7 (patch) | |
tree | 4cf5e67f506604457c9513f69218b95f401ac074 /zsh/zshrc | |
parent | 28969c5dee61c2b6108965be7dec7cab38247063 (diff) |
Use environment variable in dotfiles
Diffstat (limited to 'zsh/zshrc')
-rw-r--r-- | zsh/zshrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -14,7 +14,7 @@ bindkey '^P' history-beginning-search-backward bindkey '^N' history-beginning-search-forward # Paths of executables -export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/bin/core_perl:/home/urbain/bin" +export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/bin/core_perl:$HOME/bin" # Editor export EDITOR=/usr/bin/nvim @@ -32,7 +32,7 @@ fi # Export GPG-agent related if [[ -f "${HOME}/.gpg-agent-info" ]]; then - source /home/urbain/.gpg-agent-info + source ${HOME}/.gpg-agent-info export GPG_AGENT_INFO export SSH_AUTH_SOCK fi |