thanks, david.
i can get that to work, although it has a few side-effects that are
maybe not ideal for me. i'll keep working at it.
best regards,
liv
___
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/list
hi paul,
> maybe XFCE invokes an interactive terminal to run that command? Because when
> I do `fish -c…` the greeting is not printed, but it is when I open another
> session with just `fish`.
yeah, I get the same results from those actions.
maybe something to ask the xfce community about. i t
Hey Liv,
Is there a way to get fish to do something only when run inside a terminal
window?
sure, you could just check for `status --is-interactive` (see
https://fishshell.com/docs/current/cmds/status.html).
Btw, this is also how fish_greeting is called internally, see
/usr/share/fish/funct
Hi Liv,
I solved that problem by opening bash terminals all the time. And what
is in the .bashrc file?
All the stuff I want to execute when opening a terminal window. In my
case, .bashrc ends with:
# to lighten up the day... fortune -a | cowsay -W 70; # to start the
proper console :o) fish
If
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 wi