mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 19:03:38 +08:00
Revert "Source files /etc/profile.d/*.fish at startup"
Per discussion in #1956, back this out until we have consensus.
This reverts commit 20a6b65b25
.
This commit is contained in:
parent
665314b240
commit
6faac2d2c8
|
@ -97,10 +97,6 @@ set -xg PATH $__fish_tmp_path
|
||||||
set -e __fish_tmp_path
|
set -e __fish_tmp_path
|
||||||
functions -e __fish_load_path_helper_paths
|
functions -e __fish_load_path_helper_paths
|
||||||
|
|
||||||
# Source any files matching /etc/profile.d/*.fish
|
|
||||||
for file in /etc/profile.d/*.fish
|
|
||||||
source $file
|
|
||||||
end
|
|
||||||
|
|
||||||
# Add a handler for when fish_user_path changes, so we can apply the same changes to PATH
|
# Add a handler for when fish_user_path changes, so we can apply the same changes to PATH
|
||||||
# Invoke it immediately to apply the current value of fish_user_path
|
# Invoke it immediately to apply the current value of fish_user_path
|
||||||
|
|
Loading…
Reference in New Issue
Block a user