DISOWN(1)
okay so bestie, welcome to DISOWN(1) from fish-shell β the manual page that's literally all about yeeting a process out of the job list while letting it live its best life. π
β¨ NAME β¨
disown β remove a process from the list of jobs. periodt.
π¦ SYNOPSIS π¦
disown [PID ...]
π DESCRIPTION π
disown removes the specified job (the job-control kind, iykyk) from the list of jobs. The job itself continues to exist, but fish does not keep track of it any longer. This will make fish lose all knowledge of the job, so functions defined with --on-process-exit or --on-job-exit will no longer fire. π
Jobs in the list of jobs are sent a hang-up signal when fish terminates, which usually causes the job to terminate; disown allows these processes to continue regardless. no cap.
If no process is specified, the most recently-used job is removed (like bg and fg). If one or more PIDs are specified, jobs with the specified process IDs are removed from the job list. Invalid jobs are ignored and a warning is printed. π
If a job is stopped, it is sent a signal to continue running, and a warning is printed. It is not possible to use the bg builtin to continue a job once it has been disowned. lowkey important.
disown returns 0 if all specified jobs were disowned successfully, and 1 if any problems were encountered.
--help,-hβ displays help about using this command. π«Ά
π₯ EXAMPLE π₯
firefox &; disown will start the Firefox web browser in the background and remove it from the job list, meaning it will not be closed when the fish process is closed. iconic.
disown (jobs -p) removes all jobs from the job list without terminating them. slay.
π Copyright π
fish-shell developers
mwah π β this page is from fish-shell version 4.9, dated Sep 08, 2026, and the copyright belongs to the fish-shell developers. stay legendary, bestie π«Ά
π¦ where this page comes from
- arch rolling: fish 4.9.3-1 Β· GPL-2.0-only AND BSD-3-Clause AND ISC AND MIT AND PSF-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms