fix non-ending function

This commit is contained in:
Jules 2026-03-09 23:11:42 +01:00
parent f416dc5ea7
commit 453d348400

View File

@ -8,6 +8,13 @@ alias ll='ls -la'
alias lla='ls -htlr -A'
alias l='ls -l'
# cdl=move to directory and instantly list its contents
# everyone needs this ;-)
cdl(){
cd $@
ls -l
}
# change directory
alias ..='cd ..'
alias ...='cd ../..'
@ -32,16 +39,6 @@ cd() {
# Otherwise, use normal cd behavior
builtin cd "$target"
fi
# create an excuse
excuse(){
curl -s https://bofh-api.bombeck.io/v1/excuses/random/ | jq -r '.[0].quote'
}
# cdl=move to directory and instantly list its contents
# everyone needs this ;-)
cdl(){
cd $@
ls -l
}
# directly cd into the latest modified directory
@ -49,6 +46,12 @@ cdla(){
cd "$(\ls -1dt ./*/ | head -n 1)"
}
# create an excuse
excuse(){
curl -s https://bofh-api.bombeck.io/v1/excuses/random/ | jq -r '.[0].quote'
}
# making git-life easier
gitc(){
git commit -a -m "$1"
@ -102,3 +105,4 @@ alias telnet='echo use the curl method: curl telnet:\/\/<ip>:<port>'
# hopefully, there's ack-grep installed on the system...
alias ag='ack'