mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
9fa70d3ace
path was added in 3.4, it's old enough that we can use it now.
8 lines
189 B
Fish
8 lines
189 B
Fish
function __fish_ps
|
|
switch (command -s ps | path resolve | path basename)
|
|
case busybox
|
|
command ps $argv
|
|
case '*'
|
|
command ps axc $argv
|
|
end
|
|
end
|