From 9cebf5c9b6211a4543353bb2bc1fcc0c8820a272 Mon Sep 17 00:00:00 2001 From: fortifiedhill <24689525+fortifiedhill@users.noreply.github.com> Date: Thu, 14 Mar 2024 01:12:43 -0500 Subject: [PATCH] Update htop completions Added and updated completions and updated htop link. (cherry picked from commit 8678ad8ca0a15c9421ef41bfde7c7bde071bfda9) --- share/completions/htop.fish | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/share/completions/htop.fish b/share/completions/htop.fish index b8cdace88..89c343373 100644 --- a/share/completions/htop.fish +++ b/share/completions/htop.fish @@ -1,11 +1,22 @@ # htop is an interactive process viewer. -# See: http://hisham.hm/htop +# See: https://htop.dev complete -c htop -l delay -s d -d 'Update interval' -x complete -c htop -l no-color -s C -d 'Start htop in monochrome mode' complete -c htop -l no-colour -d 'Start htop in monochrome mode' +complete -c htop -l filter -s F -d 'Filter processes by terms matching the commands' -x complete -c htop -l help -s h -d 'Show help and exit' -complete -c htop -l pid -s p -d 'Show only given PIDs' -x -a '(__fish_append , (__fish_complete_pids))' -complete -c htop -l user -s u -d 'Monitor given user' -x -a '(__fish_complete_users)' -complete -c htop -l sort-key -d 'Sort column' -xa '(htop --sort-key help)' -complete -c htop -l version -s v -d 'Show version and exit' +complete -c htop -l pid -s p -d 'Show only given PIDs' -xa '(__fish_append , (__fish_complete_pids))' +complete -c htop -l sort-key -s s -d 'Sort column' -xa '(htop --sort-key help)' +complete -c htop -l user -s u -d 'Monitor given user' -xa '(__fish_complete_users)' +complete -c htop -l no-unicode -s U -d 'Do not use unicode but ASCII characters for graph meters' +complete -c htop -l no-mouse -s M -d 'Disable support of mouse control' +complete -c htop -l readonly -d 'Disable all system and process changing features' +complete -c htop -l version -s V -d 'Show version and exit' +complete -c htop -l tree -s t -d 'Show processes in tree view' +complete -c htop -l highlight-changes -s H -d 'Highlight new and old processes' -x +complete -c htop -l drop-capabilites -d 'Drop unneeded Linux capabilites (Requires libpcap support)' -xka " + off + basic + strict + "