2005-09-20 21:31:55 +08:00
|
|
|
# Completions for top
|
2007-01-16 09:18:28 +08: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 21:31:55 +08:00
|
|
|
|