mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-16 23:14:04 +00:00
8 lines
204 B
Fish
8 lines
204 B
Fish
function __fish_ps
|
|
switch (builtin realpath (command -v ps) | string match -r '[^/]+$')
|
|
case busybox
|
|
command ps $argv
|
|
case '*'
|
|
command ps axc $argv
|
|
end
|
|
end
|