change go command to cdl and add .local/bin to path

This commit is contained in:
julian 2025-03-17 09:13:23 +01:00
parent a5b0a6ac2b
commit 88ea1cc370
2 changed files with 7 additions and 2 deletions

View File

@ -15,9 +15,9 @@ alias ....='cd ../../..'
alias .....='cd ../../../..' alias .....='cd ../../../..'
alias p='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 ;-) # everyone needs this ;-)
go(){ cdl(){
cd $@ cd $@
ls -l ls -l
} }

View File

@ -10,6 +10,11 @@ if [ -d ~/bin ] ; then
export PATH export PATH
fi fi
if [ -d ~/.local/bin ] ; then
PATH="~/.local/bin:${PATH}"
export PATH
fi
# do the same with MANPATH # do the same with MANPATH
if [ -d ~/man ]; then if [ -d ~/man ]; then
MANPATH=~/man:"${MANPATH}" MANPATH=~/man:"${MANPATH}"