mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 11:21:15 -03:00
Add a shell suspend function
This commit is contained in:
7
share/functions/suspend.fish
Normal file
7
share/functions/suspend.fish
Normal file
@@ -0,0 +1,7 @@
|
||||
function suspend
|
||||
if status --is-login
|
||||
echo cannot suspend login shell >&2
|
||||
else
|
||||
kill -STOP %self
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user