aboutsummaryrefslogtreecommitdiffstats
path: root/main/zsh/zprofile
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2020-04-09 12:11:22 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-04-09 15:11:24 +0000
commit1c7ba057cebc74c8b4db0a2c40c1b2c508e8c484 (patch)
tree710320297d2328f018ecd88914db69750ce631b7 /main/zsh/zprofile
parent54cdc723c10d40c21c18545e4949089155617074 (diff)
downloadaports-1c7ba057cebc74c8b4db0a2c40c1b2c508e8c484.tar.gz
aports-1c7ba057cebc74c8b4db0a2c40c1b2c508e8c484.tar.bz2
aports-1c7ba057cebc74c8b4db0a2c40c1b2c508e8c484.tar.xz
main/zsh: don't attempt to add ~/bin to PATH by default
Does not work correctly as /etc/profile (sourced by zprofile) overwrites PATH again. Besides, I believe that locations such as ~/bin should be explicitly enabled by the user. Other shells (e.g. bash, mksh, …) do not add ~/bin to PATH by default either. Fixes #11371
Diffstat (limited to 'main/zsh/zprofile')
-rw-r--r--main/zsh/zprofile3
1 files changed, 0 insertions, 3 deletions
diff --git a/main/zsh/zprofile b/main/zsh/zprofile
index 03d316f1ad..5e214759d9 100644
--- a/main/zsh/zprofile
+++ b/main/zsh/zprofile
@@ -2,9 +2,6 @@
# /etc/zprofile and ~/.zprofile are run for login shells
#
-PATH="$PATH:$HOME/bin"
-export PATH
-
_src_etc_profile()
{
# Make /etc/profile happier, and have possible ~/.zshenv options like