2017-01-29 03:41:32 +08:00
|
|
|
# htop is an interactive process viewer.
|
2024-03-14 14:12:43 +08:00
|
|
|
# See: https://htop.dev
|
2011-09-23 16:24:21 +08:00
|
|
|
|
2017-01-29 03:41:32 +08:00
|
|
|
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'
|
2024-03-14 14:12:43 +08:00
|
|
|
complete -c htop -l filter -s F -d 'Filter processes by terms matching the commands' -x
|
2017-01-29 03:41:32 +08:00
|
|
|
complete -c htop -l help -s h -d 'Show help and exit'
|
2024-03-14 14:12:43 +08:00
|
|
|
complete -c htop -l pid -s p -d 'Show only given PIDs' -xa '(__fish_append , (__fish_complete_pids))'
|
2024-03-16 17:30:46 +08:00
|
|
|
complete -c htop -l sort-key -s s -d 'Sort column' -xa '(htop --sort-key help | sed -E "s/^\s*([^[:space:]]*)\s*(.*)/\1\t\2/")'
|
2024-03-14 14:12:43 +08:00
|
|
|
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
|
|
|
|
"
|