summaryrefslogtreecommitdiffstats
path: root/.zprofile
diff options
context:
space:
mode:
author2024-11-05 00:01:55 +0530
committer2024-11-05 00:01:55 +0530
commit55bee508991dc5384a4573105c668d107a9b7ded (patch)
tree0b27bae44a643948defc8c16c5b1bcbe2e3e4eed /.zprofile
parentSwitch to fedora (diff)
downloaddotfiles-55bee508991dc5384a4573105c668d107a9b7ded.tar
dotfiles-55bee508991dc5384a4573105c668d107a9b7ded.tar.gz
dotfiles-55bee508991dc5384a4573105c668d107a9b7ded.tar.bz2
dotfiles-55bee508991dc5384a4573105c668d107a9b7ded.tar.lz
dotfiles-55bee508991dc5384a4573105c668d107a9b7ded.tar.xz
dotfiles-55bee508991dc5384a4573105c668d107a9b7ded.tar.zst
dotfiles-55bee508991dc5384a4573105c668d107a9b7ded.zip
Added plugins. Also added .profile due ubuntu's GDM xsession req
Xsession only source .profile.
Diffstat (limited to '.zprofile')
-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