]> git.phdru.name Git - dotfiles.git/blob - .bash_completion.d/cgmem_nice
.fvwmrc: Change big terminal size
[dotfiles.git] / .bash_completion.d / cgmem_nice
1 _cgmem_nice()
2 {
3    local CUR=${COMP_WORDS[COMP_CWORD]}
4
5    if [ $COMP_CWORD -eq 1 ]; then
6       COMPREPLY=( $(compgen -W "100 200 300 500 1000 2000 4000" -- $CUR) )
7    elif [ $COMP_CWORD -ge 2 ]; then
8       _command_offset 2
9    fi
10 }
11
12 complete -F _cgmem_nice cgmem_nice