From 55bee508991dc5384a4573105c668d107a9b7ded Mon Sep 17 00:00:00 2001 From: Marc Pervaz Boocha Date: Tue, 5 Nov 2024 00:01:55 +0530 Subject: Added plugins. Also added .profile due ubuntu's GDM xsession req Xsession only source .profile. --- .zprofile | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) (limited to '.zprofile') 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 -- cgit v1.2.3-70-g09d2