mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 06:03:49 +08:00
9 lines
196 B
Fish
9 lines
196 B
Fish
|
function __fish_ps
|
||
|
switch (realpath (command -v ps) | string match -r '[^/]+$')
|
||
|
case busybox
|
||
|
command ps $argv
|
||
|
case '*'
|
||
|
command ps axc $argv
|
||
|
end
|
||
|
end
|