From 43714bcd6cb13f50db12862855e0eede3191fb42 Mon Sep 17 00:00:00 2001 From: Jan Pokorný Date: Wed, 25 Sep 2013 01:54:06 +0200 Subject: Bash config: fix diralias bash completion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan Pokorný --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index e32154a..65d161d 100644 --- a/.bashrc +++ b/.bashrc @@ -10,7 +10,7 @@ _diralias () { } diralias () { alias "$(basename "$1")=_diralias $1" - complete -C "f(){ find "${1%%* }" -maxdepth 1 -type d -name "\$2*" -printf '%f\\n'; }; f" "$(basename "$1")" + complete -C "f(){ find \"${1%%* }\" -maxdepth 1 -type d -name \"\$2*\" -printf '%f\\n'; }; f" "$(basename "$1")" } _linkalias () { -- cgit