mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 08:11:15 -03:00
uniq doesn't filter duplicates that aren't consecutive, use sort -u
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user