From 0fae4b349d543e6b289cb60a20a9163dd777bcbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 12 Sep 2021 12:30:55 +0200 Subject: [PATCH] Move the aliases into the custom config directory --- .bashrc | 2 +- .aliases => .config/rodolphe/.aliases | 0 .config/zsh/.zshrc | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename .aliases => .config/rodolphe/.aliases (100%) diff --git a/.bashrc b/.bashrc index 8052503..f9ad759 100644 --- a/.bashrc +++ b/.bashrc @@ -46,7 +46,7 @@ export GPG_TTY=$(tty) pgrep -x -u "${USER}" gpg-agent >/dev/null 2>&1 && export SSH_AGENT_PID=$(pgrep -x -u "${USER}" gpg-agent) # Aliases -[ -f "$HOME/.aliases" ] && . "$HOME/.aliases" +[ -f "$MY_CONFIG/.aliases" ] && . "$MY_CONFIG/.aliases" # Proxy settings [ -f "$HOME/.proxy" ] && . "$HOME/.proxy" diff --git a/.aliases b/.config/rodolphe/.aliases similarity index 100% rename from .aliases rename to .config/rodolphe/.aliases diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index cd58b33..ae0366a 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -30,7 +30,7 @@ if [ -f "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting. fi # Aliases -[ -f "$HOME/.aliases" ] && . "$HOME/.aliases" +[ -f "$MY_CONFIG/.aliases" ] && . "$MY_CONFIG/.aliases" # Proxy settings [ -f "$HOME/.proxy" ] && . "$HOME/.proxy"