diff --git a/home/.config/bash/aliases.sh b/home/.config/bash/aliases.sh new file mode 100644 index 0000000..c4c4c1b --- /dev/null +++ b/home/.config/bash/aliases.sh @@ -0,0 +1,3 @@ +if command -v eza >/dev/null; then + alias ls="eza" +fi diff --git a/home/.config/bash/config.sh b/home/.config/bash/config.sh index 340914c..bbfda12 100644 --- a/home/.config/bash/config.sh +++ b/home/.config/bash/config.sh @@ -4,3 +4,4 @@ if [ -r $XDG_CONFIG_HOME/sh/$HOSTNAME.sh ]; then source $XDG_CONFIG_HOME/sh/$HOSTNAME.sh fi source $XDG_CONFIG_HOME/bash/hooks.sh +source $XDG_CONFIG_HOME/bash/aliases.sh diff --git a/home/.config/bash/hooks.sh b/home/.config/bash/hooks.sh index 4ddddee..c624f85 100644 --- a/home/.config/bash/hooks.sh +++ b/home/.config/bash/hooks.sh @@ -10,7 +10,7 @@ fi # Launch atuin if it is installed if command -v atuin >/dev/null; then - eval "$(atuin init bash)" + source <(atuin init bash) fi # Init zoxide if present and alias cd to it diff --git a/home/.config/git/ignore b/home/.config/git/ignore index de033e6..3e840e9 100644 --- a/home/.config/git/ignore +++ b/home/.config/git/ignore @@ -2,3 +2,5 @@ /.helix /.settings /.classpath +/.cache +/compile_commands.json diff --git a/home/.config/sh/openchip.sh b/home/.config/sh/openchip.sh index b120aba..8b1dc79 100644 --- a/home/.config/sh/openchip.sh +++ b/home/.config/sh/openchip.sh @@ -1,8 +1,3 @@ -echo Loading Openchip config - -# LLVM -export PATH="/work1/rpaquet/llvm-project/build/bin:$PATH" - # Other binaries export PATH="/work1/rpaquet/bin:$PATH" diff --git a/home/.config/sh/path.sh b/home/.config/sh/path.sh index c41beec..197c20c 100644 --- a/home/.config/sh/path.sh +++ b/home/.config/sh/path.sh @@ -2,3 +2,5 @@ # Personnal scripts export PATH="$PATH:$HOME/bin" + +export PATH="$PATH:$HOME/.local/bin"