From f98d063f976cfc9cfeff6339570a89b23e248fb0 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 28 Jul 2023 14:25:21 +0100 Subject: [PATCH] Remove templating from zshrc This makes it easier to copy around and simpler to write --- files/zshrc | 2 -- tasks/shell.yml | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/files/zshrc b/files/zshrc index b7ae01a..3b14a11 100644 --- a/files/zshrc +++ b/files/zshrc @@ -31,8 +31,6 @@ source $ZSH/oh-my-zsh.sh eval "$(direnv hook zsh)" -alias src="source {{ home }}/.zshrc && tmux source {{ home }}/.tmux.conf" - # If not running interactively, don't do anything case $- in *i*) ;; diff --git a/tasks/shell.yml b/tasks/shell.yml index 8e50890..ff1a2cb 100644 --- a/tasks/shell.yml +++ b/tasks/shell.yml @@ -44,14 +44,13 @@ - zsh-fast-syntax-highlighting - name: Install ZSH config - template: + copy: src: ./files/zshrc dest: "{{ home }}/.zshrc" mode: 0644 owner: "{{ user }}" validate: zsh -n %s backup: true - trim_blocks: false - name: Install global environment variables template: