On Fri, 12 Jun 2015, Gour wrote: > recently I moved from Linux to Free/PC-BSD where I'm using fish shell as > default one under Lumina DE. > > I experience strange thing that after logging into DE and launching my > default (urxvt) terminal, the shell is not login-shell but interactive one, > so the commands which I have under > > if status --is-login > ... > end > > block are not executed. > > Under Linux things somehow worked out-of-the-box, so I wonder if you have any > hint to start my shell as login-shell right after logging into DE?
Terminals started under desktop environments generally aren't login shells - have you considered using `status --is-interactive` to set your terminal up? Alternatively, urxvt can be told to start a login shell. Start it with `urxvt -ls`, or drop the line "URxvt*loginShell: true" into your ~/.Xresources. David Adam zanc...@ucc.gu.uwa.edu.au ------------------------------------------------------------------------------ _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users