Hacker News new | ask | show | jobs
by tyilo 4948 days ago
set -x fish_greeting ""
2 comments

You probably meant set -U because you probably don't want to export fish_greeting to child processes. fish_greeting is already universal though and you don't need the empty string to unset it. This is enough:

    set fish_greeting
set -e fish_greeting

-e to erase