Skip to content

Commit

Permalink
chore(ansible:tasks): create ~/.config/zsh directory
Browse files Browse the repository at this point in the history
  ## what
  - create `~/.config/zsh` directory

  ## how

  ## why
  - the step for linking `zshrc` file to `~/.config/zsh/.zshrc` fails
    because `~/.config/zsh` directory doesn't exist

  ## where
  - ./tasks/zsh.yaml

  ## usage

  ## issue or pull request
  • Loading branch information
Clumsy-Coder committed Jan 31, 2024
1 parent e6a5ee0 commit aa4bd32
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tasks/zsh.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
---

- name: "git: create {{ ansible_env.XDG_CONFIG_HOME }}/zsh directory"
file:
path: "{{ ansible_env.XDG_CONFIG_HOME }}/zsh"
state: directory
tags:
- zsh
- terminal

# link zshrc file
- name: "zsh: link zshrc to {{ ansible_env.ZSHRC_PATH }}"
file:
Expand Down

0 comments on commit aa4bd32

Please sign in to comment.