Show private mode message even if $fish_greeting
is empty
#7974
Labels
bug
Something that's not working as intended
Milestone
Currently
fish_greeting
function is defined as:fish-shell/share/functions/fish_greeting.fish
Lines 1 to 17 in d338c45
When
$fish_greeting
is empty, the$fish_greeting.\n$line
will expand into a empty string, sofish --private
won't show any message either.I wonder if it makes sense to still show the private mode message ("fish is running in private mode, history will not be persisted."), even if
$fish_greeting
is empty.Also, there's a slight inconsistency:
For reference, there is a similar issue: #6299
The text was updated successfully, but these errors were encountered: