Skip to content

Importing shell configs moves specified files but doesn't create symlinks, throws error: store "shell": prepare staging: render /home/brian/dotfiles/shell/.zshenv: parse template: template: :1: unexpected "{" in command #71

Description

@bnmak

Created entries in config.yaml

shell:
target: "~"
files:
- .zshrc
- .zshenv
- .zprofile
hooks:
post: "printf 'shells linked'"

store apply -o shell

Storing all stores:
The following files conflict with store symlinks:
/home/brian/.zshenv (file → will be moved to /home/brian/dotfiles/shell/.zshenv)
/home/brian/.zshrc (file → will be moved to /home/brian/dotfiles/shell/.zshrc)

Move these files into the store and create symlinks? [y/N] y
The following files in the store will be backed up (.bak):
/home/brian/dotfiles/shell/.zshenv
/home/brian/dotfiles/shell/.zshrc

Proceed with creating backups? [y/N] y

error: store "shell": prepare staging: render /home/brian/dotfiles/shell/.zshenv: parse template: template: :1: unexpected "{" in command

error: store "shell": 1 target(s) failed
Error: 1 store(s) failed

This moves the files and creates the backups, but does not create symlinks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions