add options completion
This commit is contained in:
parent
061ebd49d1
commit
91daa8de58
@ -56,5 +56,11 @@ _screen()
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "$cur" == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W '-a -A -c -d -D -e -f -fn -fa -h -i \
|
||||
-l -ln -ls -list -L -m -O -p -q -r -R -s -S -t -U -v \
|
||||
-wipe -x -X' -- $cur ) )
|
||||
fi
|
||||
} &&
|
||||
complete -F _screen $default screen
|
||||
|
Loading…
x
Reference in New Issue
Block a user