Commit 4e7b0fe0 authored by Amila Perera's avatar Amila Perera
Browse files

getting the projects name correctly and making compdef to work with mux alias

parent e30a1243
#compdef tmuxinator
#compdef tmuxinator mux
#autoload
local curcontext="$curcontext" state line ret=1
......@@ -25,7 +25,7 @@ case $state in
args)
case $line[1] in
start|open|copy|delete)
_configs=(`tmuxinator list | sed -n 's/^[ \t]\+//p'`)
_configs=(`find ~/.tmuxinator/ -name \*.yml | cut -d/ -f5 | sed s:.yml::g`)
_values 'configs' $_configs
ret=0
;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment