diff options
Diffstat (limited to '')
-rw-r--r-- | .zprofile | 20 |
1 files changed, 3 insertions, 17 deletions
@@ -1,21 +1,7 @@ +#!zsh -l -typeset -U PATH path - -path=( $HOME/.local/bin $path ) - -if test -d /usr/lib/flatpak-xdg-utils/ -then - path=( /usr/lib/flatpak-xdg-utils $path ) -fi - -if test -d "$HOME/.local/opt/go/bin" -then - path=( "$HOME/.local/opt/go/bin" $path ) -fi - -if test -d "$HOME/go/bin" +if test -f "$HOME"/.profile then - path=( "$HOME/go/bin" $path ) + emulate sh -c '. $HOME/.profile' fi -export PATH |