diff --git a/TODO.md b/TODO.md index 73e5ba3..32dea67 100644 --- a/TODO.md +++ b/TODO.md @@ -1,5 +1,3 @@ # TODO -* autocomplétion pour umountr comme pour umount - -*- coding: utf-8 mode: markdown -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8:noeol:binary \ No newline at end of file diff --git a/lib/completion.d/nutools b/lib/completion.d/nutools index 79494ac..527d07d 100644 --- a/lib/completion.d/nutools +++ b/lib/completion.d/nutools @@ -13,3 +13,7 @@ if __bash_completion_module_enabled ssh; then shopt -u hostcomplete complete -F _ssh ussh cssh fi + +if __bash_completion_module_enabled umount; then + complete -F _umount -o dirnames umountr +fi