commit bf03569756f9c1c59038c115e82415d36be4acf1 parent 14280e4f1d7606dd025876cb3f630083dcd0c57b Author: Christoph Lohmann <20h@r-36.net> Date: Mon, 21 Apr 2014 11:38:38 +0200 Just do the commandline part and respect $SHELL. Diffstat:
bin/rpmailcomposer | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/bin/rpmailcomposer b/bin/rpmailcomposer @@ -6,5 +6,8 @@ then exit 1 fi -st -e sh -c "rpcompose \"$1\"; rpdrafts -l; PS1='compose> ' sh" +rpcompose \"$1\" +rpdrafts -l +[ -z "$SHELL" ] && export SHELL="/bin/sh" +PS1='compose> ' $SHELL