diff --git a/libexec/tmuxifier-new-session b/libexec/tmuxifier-new-session index 33fef9d..e0560eb 100755 --- a/libexec/tmuxifier-new-session +++ b/libexec/tmuxifier-new-session @@ -25,7 +25,7 @@ if [ -f "$layout_file" ]; then fi content="$(cat "$template")" -echo "${content/\{\{SESSION_NAME\}\}/$layout_name}" > "$layout_file" +echo "${content//\{\{SESSION_NAME\}\}/$layout_name}" > "$layout_file" if [ ! -z "$EDITOR" ]; then exec "$EDITOR" "$layout_file" diff --git a/libexec/tmuxifier-new-window b/libexec/tmuxifier-new-window index 741a592..1c4919d 100755 --- a/libexec/tmuxifier-new-window +++ b/libexec/tmuxifier-new-window @@ -25,7 +25,7 @@ if [ -f "$layout_file" ]; then fi content="$(cat "$template")" -echo "${content/\{\{WINDOW_NAME\}\}/$layout_name}" > "$layout_file" +echo "${content//\{\{WINDOW_NAME\}\}/$layout_name}" > "$layout_file" if [ ! -z "$EDITOR" ]; then exec "$EDITOR" "$layout_file"