mirror of
https://github.com/fish-shell/fish-shell
synced 2024-09-21 06:51:58 +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
|
||||
switch (realpath (command -v ps) | string match -r '[^/]+$')
|
||||
switch (builtin realpath (command -v ps) | string match -r '[^/]+$')
|
||||
case busybox
|
||||
command ps $argv
|
||||
case '*'
|
||||
|
|
Loading…
Reference in a new issue