From 88ea1cc370f50edf2e73da40749bdb2c7d152190 Mon Sep 17 00:00:00 2001 From: julian Date: Mon, 17 Mar 2025 09:13:23 +0100 Subject: [PATCH] change go command to cdl and add .local/bin to path --- .bash_aliases | 4 ++-- .bashrc | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.bash_aliases b/.bash_aliases index e65f80f..985c7bd 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -15,9 +15,9 @@ alias ....='cd ../../..' alias .....='cd ../../../..' alias p='cd -' -# go=move to directory and instantly list its contents +# cdl=move to directory and instantly list its contents # everyone needs this ;-) -go(){ +cdl(){ cd $@ ls -l } diff --git a/.bashrc b/.bashrc index 6f7ef2a..87287fe 100644 --- a/.bashrc +++ b/.bashrc @@ -10,6 +10,11 @@ if [ -d ~/bin ] ; then export PATH fi +if [ -d ~/.local/bin ] ; then + PATH="~/.local/bin:${PATH}" + export PATH +fi + # do the same with MANPATH if [ -d ~/man ]; then MANPATH=~/man:"${MANPATH}"