aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-05-01 14:34:17 -0300
committerEuAndreh <eu@euandre.org>2019-05-01 14:34:17 -0300
commit0a16a309f184212976e77f320284e8697d64977e (patch)
tree6154e8a65225018af82e40790fa9f39e697d0289
parentAdd stub mentat tmuxinator template. (diff)
downloaddotfiles-0a16a309f184212976e77f320284e8697d64977e.tar.gz
dotfiles-0a16a309f184212976e77f320284e8697d64977e.tar.xz
Derive tmuxinator templates from files instead of static list.
-rw-r--r--bash/fake-symlinks.sh6
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)