tJust do the commandline part and respect $SHELL. - rohrpost - A commandline mail client to change the world as we see it.
(HTM) git clone git://r-36.net/rohrpost
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit bf03569756f9c1c59038c115e82415d36be4acf1
(DIR) parent 14280e4f1d7606dd025876cb3f630083dcd0c57b
(HTM) 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(-)
---
(DIR) diff --git a/bin/rpmailcomposer b/bin/rpmailcomposer
t@@ -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