From 0a16a309f184212976e77f320284e8697d64977e Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 1 May 2019 14:34:17 -0300 Subject: Derive tmuxinator templates from files instead of static list. --- bash/fake-symlinks.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'bash') diff --git a/bash/fake-symlinks.sh b/bash/fake-symlinks.sh index 3a5e885..a3d1003 100644 --- a/bash/fake-symlinks.sh +++ b/bash/fake-symlinks.sh @@ -20,10 +20,8 @@ done mkdir -p ~/.tmuxinator -TMUXINATOR_TEMPLATES=(annex pires songbooks sosps) - -for template in "${TMUXINATOR_TEMPLATES[@]}"; do - cp "$DOTFILES/tmux/projects/$template.yml" "$HOME/.tmuxinator/$template.yml" +for template in "$DOTFILES"/tmux/projects/*; do + cp "$template" "$HOME/.tmuxinator/$(basename "$template")" done # DHALL_BUILD_REPOS=(website) -- cgit v1.2.3