mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 20:31:19 -03:00
Remove stale path validation logic
We used to warn about PATH and CDPATH that are not valid directories, but only if they contain colons. However, the warning was a false positive because we would split those values by colons anyway. So there is nothing left we want to warn about. Fixes #8095
This commit is contained in:
@@ -715,3 +715,13 @@ set --show ""
|
||||
#CHECKERR: set --show ""
|
||||
#CHECKERR: ^
|
||||
#CHECKERR: (Type 'help set' for related documentation)
|
||||
|
||||
# Test path splitting
|
||||
begin
|
||||
set -l PATH /usr/local/bin:/usr/bin
|
||||
echo $PATH
|
||||
# CHECK: /usr/local/bin /usr/bin
|
||||
set -l CDPATH .:/usr
|
||||
echo $CDPATH
|
||||
# CHECK: . /usr
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user