diff --git a/bash-autocompletion/lutin.py b/bash-autocompletion/lutin similarity index 94% rename from bash-autocompletion/lutin.py rename to bash-autocompletion/lutin index 9ad80c7..d1a3d12 100755 --- a/bash-autocompletion/lutin.py +++ b/bash-autocompletion/lutin @@ -61,7 +61,7 @@ _lutin() return 0 ;; --target) - local names=`lutin.py --list-target` + local names=`lutin --list-target` COMPREPLY=( $(compgen -W "${names}" -- ${cur}) ) return 0 ;; @@ -82,9 +82,9 @@ _lutin() COMPREPLY=( $(compgen -W "${optshorts}" -- ${cur}) ) return 0 fi - listmodule=`lutin.py --list-module` + listmodule=`lutin --list-module` COMPREPLY=( $(compgen -W "${listmodule}" -- ${cur}) ) return 0 } -complete -F _lutin lutin.py \ No newline at end of file +complete -F _lutin lutin \ No newline at end of file diff --git a/bash-autocompletion/readme b/bash-autocompletion/readme index e89ef7a..b97ccb1 100644 --- a/bash-autocompletion/readme +++ b/bash-autocompletion/readme @@ -1,6 +1,6 @@ to install autocompletion for lutin : -sudo cp bash-autocompletion/lutin.py /etc/bash_completion.d +sudo cp bash-autocompletion/lutin /etc/bash_completion.d ==> and restart bash ...