From d96910733a97fb98182246ebd4705978e5327d00 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Sun, 6 Mar 2022 16:10:55 +0000 Subject: [PATCH] Use ~/.local/bin instead of ~/bin --- roles/home-cli/files/bashrc | 2 +- roles/home-cli/tasks/dirs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/home-cli/files/bashrc b/roles/home-cli/files/bashrc index 7e19db3..0c262f8 100644 --- a/roles/home-cli/files/bashrc +++ b/roles/home-cli/files/bashrc @@ -28,7 +28,7 @@ _acp_add_path () { export PATH } -for dir in "$HOME/bin" \ +for dir in "$HOME/.local/bin" \ "$HOME/.cargo/bin" \ "$HOME/opt/centos-git-common" \ "${XDG_DATA_HOME:-$HOME/.local/share}/gem/ruby/bin" \ diff --git a/roles/home-cli/tasks/dirs.yml b/roles/home-cli/tasks/dirs.yml index b4718ad..5a23634 100644 --- a/roles/home-cli/tasks/dirs.yml +++ b/roles/home-cli/tasks/dirs.yml @@ -20,7 +20,7 @@ mode: '0700' - name: Create user bin directory ansible.builtin.file: - path: "{{ ansible_env.HOME }}/bin" + path: "{{ ansible_env.HOME }}/.local/bin" state: directory - name: Create user opt directory ansible.builtin.file: