From 0c247adc04e1e5dcdc9e3f56555068c2f383d4ad Mon Sep 17 00:00:00 2001 From: James Walker Date: Fri, 10 Jan 2014 09:50:42 -0500 Subject: [PATCH] fix tmuxinator completion --- home/.zsh/custom/plugins/tmuxinator/_tmuxinator | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/.zsh/custom/plugins/tmuxinator/_tmuxinator b/home/.zsh/custom/plugins/tmuxinator/_tmuxinator index 1ccd125..fd73b39 100644 --- a/home/.zsh/custom/plugins/tmuxinator/_tmuxinator +++ b/home/.zsh/custom/plugins/tmuxinator/_tmuxinator @@ -25,7 +25,7 @@ case $state in args) case $line[1] in start|open|copy|delete) - _configs=(`tmuxinator list | awk "NR==2"`) + _configs=(`find ~/.tmuxinator/* -name \*.yml | cut -d/ -f5 | sed s:.yml::g`) _values 'configs' $_configs ret=0 ;; @@ -33,4 +33,4 @@ case $state in ;; esac -return ret \ No newline at end of file +return ret