mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00:00
__fish_ps: Use builtin realpath
We might want to find a better home for that builtin.
This commit is contained in:
parent
18b2a65fdc
commit
c7c10c8b10
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
function __fish_ps
|
function __fish_ps
|
||||||
switch (realpath (command -v ps) | string match -r '[^/]+$')
|
switch (builtin realpath (command -v ps) | string match -r '[^/]+$')
|
||||||
case busybox
|
case busybox
|
||||||
command ps $argv
|
command ps $argv
|
||||||
case '*'
|
case '*'
|
||||||
|
|
Loading…
Reference in a new issue