Status display 'shell', if shell command takes its time.

This commit is contained in:
Holger Vogt 2026-04-24 14:47:15 +02:00
parent 6bb89dac01
commit 215dd0e136
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,10 @@ com_shell(wordlist *wl)
int status;
char *shell = NULL;
#ifdef HAS_PROGREP
SetAnalyse("shell", 0);
#endif
shell = getenv("SHELL");
if (shell == NULL) {
shell = SHELL;