fish-shell/share/functions/__fish_ps.fish
Fabian Boehm 9fa70d3ace Remove two calls to builtin realpath
path was added in 3.4, it's old enough that we can use it now.
2023-09-29 16:47:00 +02:00

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