1

Fix 'fortune' stderr not being piped to /dev/null

This commit is contained in:
Jessie Hildebrandt 2021-09-08 08:30:23 -04:00
parent 378445e3c9
commit 279fb301f3

View File

@ -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