diff --git a/share/functions/suspend.fish b/share/functions/suspend.fish index 8d609dec1..af2ce5012 100644 --- a/share/functions/suspend.fish +++ b/share/functions/suspend.fish @@ -1,4 +1,8 @@ function suspend -d "Suspend the current shell." + if contains -- $argv --help; or contains -- $argv -h + __fish_print_help suspend + and return 0 + end if begin contains -- $argv --force or not status --is-interactive and not status --is-login end