Hello everyone,

according to my /usr/share/doc/fish/cmds/fish_greeting.html, "When an
interactive fish starts, it executes fish_greeting and displays its
output."

>From this I concluded that fish_greeting might be a nice place to put
things that I want to be executed when I open a new terminal window.

But it turns out that things I put in fish_greeting are also triggered
when I run a fish command alias via a keyboard shortcut, e.g. by using
XFCE's keyboard settings dialogue to associate 'fish -c my-alias-here'
with a key combination.

Am I misunderstanding the meaning of "an interactive fish"? Is there a
way to get fish to do something only when run inside a terminal window?

Best regards,
liv


_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to