add cdla alias to change directly into last modified directory at current place
This commit is contained in:
parent
57137b6e11
commit
a5b0a6ac2b
|
|
@ -22,6 +22,11 @@ go(){
|
||||||
ls -l
|
ls -l
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# directly cd into the latest modified directory
|
||||||
|
cdla(){
|
||||||
|
cd "$(\ls -1dt ./*/ | head -n 1)"
|
||||||
|
}
|
||||||
|
|
||||||
# making git-life easier
|
# making git-life easier
|
||||||
gitc(){
|
gitc(){
|
||||||
git commit -a -m "$1"
|
git commit -a -m "$1"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user