mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 14:23:09 +00:00
c7c10c8b10
We might want to find a better home for that builtin.
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
|