fish-shell/share/functions/__fish_ps.fish

9 lines
204 B
Fish
Raw Normal View History

function __fish_ps
switch (builtin realpath (command -v ps) | string match -r '[^/]+$')
case busybox
command ps $argv
case '*'
command ps axc $argv
end
end