From b3d43ef6295c8fe85e72d2941a0729f2df60f0fa Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Mon, 6 Mar 2023 16:36:20 +0100 Subject: [PATCH] Add separate alias file --- .aliases | 1 + .zshrc | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .aliases diff --git a/.aliases b/.aliases new file mode 100644 index 0000000..9d71247 --- /dev/null +++ b/.aliases @@ -0,0 +1 @@ +alias ap='ansible-playbook' diff --git a/.zshrc b/.zshrc index a5ca339..130c492 100644 --- a/.zshrc +++ b/.zshrc @@ -80,4 +80,8 @@ alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' config config --local status.showUntrackedFiles no # GPG with SSH auth capabilities -export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) \ No newline at end of file +export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) + +if [ -f ~/.aliases ]; then + . ~/.aliases +fi