aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/suspend.fish
diff options
context:
space:
mode:
Diffstat (limited to 'share/functions/suspend.fish')
-rw-r--r--share/functions/suspend.fish3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/functions/suspend.fish b/share/functions/suspend.fish
index 72ba10ca..32cdfa90 100644
--- a/share/functions/suspend.fish
+++ b/share/functions/suspend.fish
@@ -1,6 +1,6 @@
# If the user hasn't set it, make sure our test level has a value
if not set -q suspend_minimum_SHLVL
- set -g suspend_minimum_SHLVL 3
+ set -g suspend_minimum_SHLVL 2
end
@@ -11,6 +11,7 @@ function suspend -d "Suspend the current shell."
and not status --is-login
end
end
+ echo Suspending %self
kill -STOP %self
else
echo 2>&1 Cannot suspend login shell or SHLVL to low, use --force to force.