mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-19 15:02:47 +08:00
Add a few extra directories to check for in path on startup
darcs-hash:20070928213855-75c98-3670b961e1b16bfdc952bbd8e6eccacdc368ff6b.gz
This commit is contained in:
parent
db0a982570
commit
addb5a698d
|
@ -54,12 +54,12 @@ end
|
|||
# want this even for text-only terminals.
|
||||
#
|
||||
|
||||
set -l path_list /bin /usr/bin /usr/X11R6/bin @prefix@/bin @optbindirs@
|
||||
set -l path_list /bin /usr/bin /usr/X11R6/bin /usr/local/bin @prefix@/bin @optbindirs@
|
||||
|
||||
# Root should also have the sbin directories in the path
|
||||
switch $USER
|
||||
case root
|
||||
set path_list $path_list /sbin /usr/sbin /usr/local/sbin
|
||||
set path_list $path_list /sbin /usr/sbin /usr/local/sbin @prefix@/sbin
|
||||
end
|
||||
|
||||
for i in $path_list
|
||||
|
|
Loading…
Reference in New Issue
Block a user