From d26c60e565bd1397b96eee84cedde6218104dc0a Mon Sep 17 00:00:00 2001 From: Bruno Raoult Date: Fri, 26 Jan 2024 07:54:34 +0100 Subject: [PATCH] add ~/.local/bin in PATH --- config/home/bashrc.br | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/config/home/bashrc.br b/config/home/bashrc.br index c2b5c86..8f2687a 100644 --- a/config/home/bashrc.br +++ b/config/home/bashrc.br @@ -78,10 +78,12 @@ _var_append() { } # adjust PATH. Below paths will be added at beginning. -_lpath=("$HOME/bin/$(uname -s)-$(uname -m)" - "$HOME/bin" +_lpath=("$HOME/bin/$(uname -s)-$(uname -m)" # architecture specific + "$HOME/bin" # user scripts + "$HOME/.local/bin" # pip venv #"$HOME/.cargo/bin" - "/usr/local/bin") + "/usr/local/bin" + ) # loop array in reverse order. Note: We do not test for path existence and add it # unconditionally, to avoid automounter interference. @@ -189,7 +191,7 @@ export QUOTING_STYLE=literal # avoid these stupid systemd defaults (horizontal scroll and pager) alias systemctl="systemctl --no-pager --full" -# aliases/functions for ls and history +# aliases/functions for usual commands (ls, history, grep...) alias l='ls -F' alias ls='ls -F' alias l1='ls -1F'