diff options
author | EuAndreh <eu@euandre.org> | 2019-05-01 14:34:17 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-05-01 14:34:17 -0300 |
commit | 0a16a309f184212976e77f320284e8697d64977e (patch) | |
tree | 6154e8a65225018af82e40790fa9f39e697d0289 /bash | |
parent | Add stub mentat tmuxinator template. (diff) | |
download | dotfiles-0a16a309f184212976e77f320284e8697d64977e.tar.gz dotfiles-0a16a309f184212976e77f320284e8697d64977e.tar.xz |
Derive tmuxinator templates from files instead of static list.
Diffstat (limited to 'bash')
-rw-r--r-- | bash/fake-symlinks.sh | 6 |
1 files changed, 2 insertions, 4 deletions
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) |