summaryrefslogtreecommitdiffstats
path: root/.zprofile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.zprofile20
1 files changed, 3 insertions, 17 deletions
diff --git a/.zprofile b/.zprofile
index 31e6329..214f6de 100644
--- a/.zprofile
+++ b/.zprofile
@@ -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