Fix 'fortune' stderr not being piped to /dev/null
This commit is contained in:
parent
378445e3c9
commit
279fb301f3
@ -72,7 +72,7 @@ function fish_greeting --description 'Display a greeting when the session begins
|
|||||||
# Determine which desired cookies are available
|
# Determine which desired cookies are available
|
||||||
set -l found_cookies
|
set -l found_cookies
|
||||||
for cookie in $desired_cookies
|
for cookie in $desired_cookies
|
||||||
if fortune -s $cookie > /dev/null ^ /dev/null
|
if fortune -s $cookie &> /dev/null
|
||||||
set -a found_cookies $cookie
|
set -a found_cookies $cookie
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user