change go command to cdl and add .local/bin to path
This commit is contained in:
parent
a5b0a6ac2b
commit
88ea1cc370
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
5
.bashrc
5
.bashrc
|
|
@ -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}"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user