From e42f593553e35650fe0f095fa37d6e50c985a881 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Fri, 1 Jul 2016 01:27:03 -0700 Subject: [PATCH] show 'fg' usage for suspend if not forcing --- share/functions/suspend.fish | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/share/functions/suspend.fish b/share/functions/suspend.fish index 46f7b5e64..106f853c9 100644 --- a/share/functions/suspend.fish +++ b/share/functions/suspend.fish @@ -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