diff options
Diffstat (limited to 'bash_completion.in')
-rw-r--r-- | bash_completion.in | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/bash_completion.in b/bash_completion.in index 33e232a..5e4fe66 100644 --- a/bash_completion.in +++ b/bash_completion.in @@ -1,24 +1,5 @@ #!/bin/bash -_makechrootpkg() { - local cur - COMPREPLY=() - _get_comp_words_by_ref cur - - case $cur in - -*) - COMPREPLY=( $( compgen -W '-I -c -d -h -l -r -u' -- "$cur" ) ) - ;; - *) - _filedir - return 0 - ;; - esac - - true -} && -complete -F _makechrootpkg makechrootpkg - _mkarchroot() { local cur COMPREPLY=() @@ -36,7 +17,7 @@ _mkarchroot() { true } && -complete -F _mkarchroot mkarchroot +complete -F _mkarchroot archroot # ex:et ts=2 sw=2 ft=sh |