mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-23 04:51:16 -03:00
@@ -178,7 +178,7 @@ if status --is-login
|
||||
for path_file in $argv[2] $argv[3]/*
|
||||
if [ -f $path_file ]
|
||||
while read -l entry
|
||||
if not contains $entry $result
|
||||
if not contains -- $entry $result
|
||||
set -a result $entry
|
||||
end
|
||||
end <$path_file
|
||||
@@ -186,7 +186,7 @@ if status --is-login
|
||||
end
|
||||
|
||||
for entry in $$argv[1]
|
||||
if not contains $entry $result
|
||||
if not contains -- $entry $result
|
||||
set result $result $entry
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user