From a4ef1f2d47e2512bcdec33fbaa5deead20162d33 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 4 Sep 2019 09:15:04 +0100 Subject: [PATCH] Add directory for custom scripts to be added to path --- files/zshrc/environment.sh | 2 ++ tasks/shell.yml | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/files/zshrc/environment.sh b/files/zshrc/environment.sh index 860883a..34653fd 100644 --- a/files/zshrc/environment.sh +++ b/files/zshrc/environment.sh @@ -5,3 +5,5 @@ export HISTCONTROL=ignoreboth export BROWSER=$(which firefox) export EDITOR=$(which vim) + +export PATH=${HOME}/.bin:${PATH} diff --git a/tasks/shell.yml b/tasks/shell.yml index 0385c4a..296e8dd 100644 --- a/tasks/shell.yml +++ b/tasks/shell.yml @@ -111,6 +111,15 @@ group: users directory_mode: 0755 +- name: Install custom scripts + copy: + src: ./files/bin + dest: "{{ home }}/.bin" + mode: 0755 + owner: "{{ user }}" + group: users + directory_mode: 0755 + - name: Set vconsole keyboard lineinfile: path: /etc/vconsole.conf