Nice write-up, this has been one of my big "productivity hacks" as well.
In addition to alias, writing some helper functions for slightly more complicated stuff is also useful. For example I added the following docker-compose helpers to ~/.bashrc
alias
~/.bashrc
dcm_murder() { docker-compose kill "$1" && yes | docker-compose rm "$1" } dcm_upfollow() { docker-compose up -d "$1" && docker-compose logs -f "$1" }
I also work with AWS a lot, so having an alias per environment for the CLI is quite useful
alias aws_dev="aws --profile development" alias aws_tst="aws --profile testing" alias aws_prd="aws --profile production"
Cool stuff @wynandpieters ๐๐ผ
Your aws aliases looks neat๐ฎโ๐จ
aws
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice write-up, this has been one of my big "productivity hacks" as well.
In addition to
alias, writing some helper functions for slightly more complicated stuff is also useful. For example I added the following docker-compose helpers to~/.bashrcI also work with AWS a lot, so having an alias per environment for the CLI is quite useful
Cool stuff @wynandpieters ๐๐ผ
Your
awsaliases looks neat๐ฎโ๐จ