Move adding ~/.local/bin to PATH after Hombrew
This commit is contained in:
parent
46f2b88db1
commit
06977c56c9
12
zshenv
12
zshenv
@ -26,12 +26,6 @@ KEYTIMEOUT=1
|
|||||||
# Enable time stats for long lasting commands
|
# Enable time stats for long lasting commands
|
||||||
REPORTTIME=5
|
REPORTTIME=5
|
||||||
|
|
||||||
# Add ~/.local to the environment
|
|
||||||
fpath+=$HOME/.local/share/zsh/site-functions
|
|
||||||
PATH=$HOME/.local/bin:$PATH
|
|
||||||
MANPATH=$HOME/.local/share/man:$MANPATH
|
|
||||||
INFOPATH=$HOME/.local/share/info:$INFOPATH
|
|
||||||
|
|
||||||
# Add ccache compiler aliases to 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
|
||||||
if [ `uname -m` = arm64 ]; then
|
if [ `uname -m` = arm64 ]; then
|
||||||
@ -55,6 +49,12 @@ fi
|
|||||||
export CCACHE_CONFIGPATH=${XDG_CONFIG_HOME:-$HOME/.config}/ccache
|
export CCACHE_CONFIGPATH=${XDG_CONFIG_HOME:-$HOME/.config}/ccache
|
||||||
export CCACHE_DIR=${XDG_CACHE_HOME:-$HOME/.cache}/ccache
|
export CCACHE_DIR=${XDG_CACHE_HOME:-$HOME/.cache}/ccache
|
||||||
|
|
||||||
|
# Add ~/.local to the environment
|
||||||
|
fpath+=$HOME/.local/share/zsh/site-functions
|
||||||
|
PATH=$HOME/.local/bin:$PATH
|
||||||
|
MANPATH=$HOME/.local/share/man:$MANPATH
|
||||||
|
INFOPATH=$HOME/.local/share/info:$INFOPATH
|
||||||
|
|
||||||
# Add default CMake options
|
# Add default CMake options
|
||||||
command -v ninja &> /dev/null && \
|
command -v ninja &> /dev/null && \
|
||||||
export CMAKE_GENERATOR=Ninja
|
export CMAKE_GENERATOR=Ninja
|
||||||
|
Loading…
x
Reference in New Issue
Block a user