2005-09-20 13:31:55 +00:00
|
|
|
# Completions for top
|
2007-01-16 01:18:28 +00:00
|
|
|
complete -c top -s b --description "Batch mode"
|
|
|
|
complete -c top -s c --description "Toggle command line/program name"
|
|
|
|
complete -c top -s d --description "Update interval" -x
|
|
|
|
complete -c top -s h --description "Display help and exit"
|
|
|
|
complete -c top -s i --description "Toggle idle processes"
|
|
|
|
complete -c top -s n --description "Maximium iterations" -x
|
|
|
|
complete -c top -s u --description "Monitor effective UID" -x -a "(__fish_complete_users)"
|
|
|
|
complete -c top -s U --description "Monitor user" -x -a "(__fish_complete_users)"
|
|
|
|
complete -c top -s p --description "Monitor PID" -x -a "(__fish_complete_pids)"
|
|
|
|
complete -c top -s s --description "Secure mode"
|
|
|
|
complete -c top -s S --description "Cumulative mode"
|
|
|
|
complete -c top -s v --description "Display version and exit"
|
2005-09-20 13:31:55 +00:00
|
|
|
|