Compare commits

...

2 Commits

2 changed files with 22 additions and 2 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
# Ignore all plugin files in subdirectories # Ignore all plugin files in subdirectories
*/* */

22
zshenv
View File

@ -20,7 +20,7 @@ PATH=$HOME/.local/bin:$PATH
MANPATH=$HOME/.local/share/man:$MANPATH MANPATH=$HOME/.local/share/man:$MANPATH
INFOPATH=$HOME/.local/share/info:$INFOPATH INFOPATH=$HOME/.local/share/info:$INFOPATH
# Add ccache to the PATH and use XDG base dir paths # Add ccache compiler aliases to PATH and use XDG base dir paths
if [ `uname` = Darwin ]; then if [ `uname` = Darwin ]; then
[ -d /usr/local/opt/python/libexec/bin ] && \ [ -d /usr/local/opt/python/libexec/bin ] && \
PATH=/usr/local/opt/python/libexec/bin:$PATH PATH=/usr/local/opt/python/libexec/bin:$PATH
@ -75,3 +75,23 @@ export VIRTUAL_ENV_DISABLE_PROMPT=1
# If pinentry-curses exists, use it for lastpass-cli # If pinentry-curses exists, use it for lastpass-cli
which pinentry-curses &> /dev/null && \ which pinentry-curses &> /dev/null && \
export LPASS_PINENTRY=pinentry-curses export LPASS_PINENTRY=pinentry-curses
# Teach these some XDG Base Directory Spec manners
which cargo &> /dev/null && \
export CARGO_HOME=$HOME/.local/share/cargo
if which ccache &> /dev/null; then
export CCACHE_CONFIGPATH=$HOME/.config/ccache.conf
export CCACHE_DIR=$HOME/.cache/ccache
fi
which conan &> /dev/null && \
export CONAN_USER_HOME=$HOME/.local/share/conan
which docker &> /dev/null && \
export DOCKER_CONFIG=$HOME/.local/share/docker
export GTK_RC_FILES=$HOME/.config/gtk/gtkrc
export GTK2_RC_FILES=$HOME/.config/gtk-2.0/gtkrc
which rustup &> /dev/null && \
export RUSTUP_HOME=$HOME/.local/share/rustup
export PYLINTHOME=$HOME/.cache/pylint
# TODO: terminfo
which wget &> /dev/null && \
export WGETRC=$HOME/.config/wgetrc