diff options
author | Mytchel Hammond | 2015-07-24 17:58:18 +1200 |
---|---|---|
committer | Roberto E. Vargas Caballero | 2015-07-24 08:15:55 +0200 |
commit | fd028b03bb55af3e2dcf045f351e30daf82e7ab3 (patch) | |
tree | 600f33d589c3d5d09a94d2fb82054d7517ded9b7 /config.def.h | |
parent | 19685ee68d37b35315ae7fe475030dabd678c104 (diff) | |
download | aur-fd028b03bb55af3e2dcf045f351e30daf82e7ab3.tar.gz |
added note about the low precedence of shell to config.def.h
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index e246e3c2848b..2616dea96581 100644 --- a/config.def.h +++ b/config.def.h @@ -7,6 +7,15 @@ */ static char font[] = "Liberation Mono:pixelsize=12:antialias=false:autohint=false"; static int borderpx = 2; + +/* + * What program is execed by st depends of these precedence rules: + * 1: program passed with -e + * 2: utmp option + * 3: SHELL environment variable + * 4: value of shell in /etc/passwd + * 5: value of shell in config.h + */ static char shell[] = "/bin/sh"; static char *utmp = NULL; static char stty_args[] = "stty raw -echo -iexten echonl"; |