mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 21:18:53 +00:00
show 'fg' usage for suspend if not forcing
This commit is contained in:
parent
9642fcb589
commit
e42f593553
1 changed files with 1 additions and 2 deletions
|
@ -2,8 +2,7 @@ function suspend -d "Suspend the current shell."
|
|||
if begin contains -- $argv --force
|
||||
or not status --is-interactive and not status --is-login
|
||||
end
|
||||
echo "Suspending" %self
|
||||
echo -n (set_color --bold)" fg"(set_color normal) to resume
|
||||
echo "Suspending" %self \n(set_color --bold)" fg"(set_color normal) to resume
|
||||
if contains -- $argv --force
|
||||
echo " (or"(set_color --bold) "kill -CONT" %self (set_color normal)"from another terminal)"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue