mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-13 09:24:03 +08:00
c7c10c8b10
We might want to find a better home for that builtin.
9 lines
204 B
Fish
9 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
|