fish-shell/share/functions/__fish_ps.fish

9 lines
196 B
Fish
Raw Normal View History

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