__fish_ps: Use builtin realpath

We might want to find a better home for that builtin.
This commit is contained in:
Fabian Homborg 2020-04-21 19:23:02 +02:00
parent 18b2a65fdc
commit c7c10c8b10

View file

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