From fa16fc211411f2b4b36dc4b436c9690d0e44a9d2 Mon Sep 17 00:00:00 2001 From: GaspardCulis Date: Fri, 31 May 2024 22:52:02 +0200 Subject: [PATCH] shell -> bash -> aliases: Added hx alias in case helix exec exists --- shell/bash/.bash_aliases | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shell/bash/.bash_aliases b/shell/bash/.bash_aliases index a67aa7c..46d1261 100644 --- a/shell/bash/.bash_aliases +++ b/shell/bash/.bash_aliases @@ -4,6 +4,10 @@ alias esp-idf-setup=". ~/.local/lib/esp-idf/export.sh" alias steam="steam-runtime" +if command -v helix &> /dev/null; then + alias hx="helix" +fi + # Git alias gs="git status" alias ga="git add -p"