mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-08 04:24:59 +08:00
![Johannes Altmanninger](/assets/img/avatar_default.png)
This introduces two functions to - toggle a process prefix, used for adding "sudo" - add a job suffix, used for adding "&| less" Not sure if they are very useful; we'll see. Closes #7905
4 lines
183 B
Fish
4 lines
183 B
Fish
function __fish_prepend_sudo -d " DEPRECATED: use fish_commandline_prepend instead. Prepend 'sudo ' to the beginning of the current commandline"
|
|
fish_commandline_prepend sudo
|
|
end
|