aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/weltschmerz.1
diff options
context:
space:
mode:
authorWolfgang Müller2019-10-07 20:14:33 +0200
committerWolfgang Müller2019-10-07 20:14:33 +0200
commitf3fad3de0863ed0571b884980132f8e80612776f (patch)
treed35cf3862ee6c484a775a52061369ee6becd7ff5 /weltschmerz.1
parent086c71c87b95372c8a8bf4ff98cf77f93fe6b569 (diff)
downloadweltschmerz-f3fad3de0863ed0571b884980132f8e80612776f.tar.gz
Introduce fallbacks when getting the user's shell
Diffstat (limited to '')
-rw-r--r--weltschmerz.111
1 files changed, 10 insertions, 1 deletions
diff --git a/weltschmerz.1 b/weltschmerz.1
index bb834b5..eaf7f0c 100644
--- a/weltschmerz.1
+++ b/weltschmerz.1
@@ -18,8 +18,17 @@ reload its configuration whilst running.
.Pp
.Nm
executes the given command, or the program specified in the
-.Em SHELL
+.Ev SHELL
environment variable if no command was given.
+If the
+.Ev SHELL
+environment variable is unset or empty,
+.Nm
+will fall back to the user's shell as configured in
+.Pa /etc/passwd ,
+or finally use
+.Pa /bin/sh
+if there is no such entry.
.Pp
The clipboard can be copied to and pasted from with
.Sy CTRL + Shift + C