mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
uniq doesn't filter duplicates that aren't consecutive, use sort -u
This commit is contained in:
parent
7ef0b3b821
commit
a060cc5893
1 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
|||
function __fish_complete_proc --description 'Complete by list of running processes'
|
||||
ps a --no-headers --format comm | uniq
|
||||
|
||||
ps a --no-headers --format comm | sort -u
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue