DEV Community

Discussion on: Bash Functions: A more powerful Alias

Collapse
 
voyeg3r profile image
Sérgio Araújo • Edited

I have a function to create and go to a new dir

mkcd () {
    mkdir -pv -p "$@" && cd $_
}

Sometimes I want to make a git commit a little bit fast

gsend () {
    git commit -am "$1" && git push
}