From: Tanguy Le Carrour <tanguy@bioneland.org>
To: Pierre Neidhardt <mail@ambrevar.xyz>
Cc: help-guix@gnu.org
Subject: Re: Changing user-account's shell
Date: Fri, 19 Apr 2019 23:24:27 +0200 [thread overview]
Message-ID: <20190419212427.jaywhuyzefv2hcek@melmoth> (raw)
In-Reply-To: <87imvaiizo.fsf@ambrevar.xyz>
Le 04/19, Pierre Neidhardt a écrit :
> Tanguy Le Carrour <tanguy@bioneland.org> writes:
> > Unfortunately, calling Fish from Bash is not really sexy! This is what I
> > do on systems where I cannot set my default shell and I don't like to have to
> > do one extra ctrl+d to close a terminal. ^_^'
>
> You would not, because when you run
>
> --8<---------------cut here---------------start------------->8---
> exec fish "$@"
> --8<---------------cut here---------------end--------------->8---
>
> it replaces the Bash process, so exiting Fish would effectively
> terminate the direct child process of the terminal which would then close
> automatically.
Oh oh oh… and now I understand the difference between `fish` and `exec
fish`! ^_^' … It works perfectly!
I still don't know if I'll go for this solution or the `chsh` as
suggested by Ludo'.
Regards
--
Tanguy
prev parent reply other threads:[~2019-04-19 21:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-17 19:59 Changing user-account's shell Tanguy Le Carrour
2019-04-18 14:45 ` Ludovic Courtès
2019-04-18 20:51 ` Tanguy Le Carrour
2019-04-19 12:04 ` Ludovic Courtès
2019-04-19 21:30 ` Tanguy Le Carrour
[not found] ` <87d0lkz5jw.fsf@ambrevar.xyz>
2019-04-18 20:22 ` Tanguy Le Carrour
2019-04-19 6:53 ` Pierre Neidhardt
2019-04-19 21:24 ` Tanguy Le Carrour [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190419212427.jaywhuyzefv2hcek@melmoth \
--to=tanguy@bioneland.org \
--cc=help-guix@gnu.org \
--cc=mail@ambrevar.xyz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.