From 83d6db30729b7dbeb7de0ddf9319fbcc12d4c4c2 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Tue, 10 Jan 2017 16:37:41 +0400 Subject: [PATCH] =?UTF-8?q?auto-compl=C3=A9tion=20pour=20umountr?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TODO.md | 2 -- lib/completion.d/nutools | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) 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