Skip to main content

Command Palette

Search for a command to run...

Quickly adding new aliases to your bash profile

Published
View as Markdown
A

9+ years in tech industry. I had the opportunity to work on a wide range of projects with companies both locally and remotely, including with software engineers from well-known tech firms such as Amazon, Atlassian, Google, and Microsoft.

I have a track record of taking ideas and turning them into successful software projects, and have made numerous contributions to open source.

I have experience working with a variety of languages and frameworks, and am highly adaptable and able to quickly learn and become proficient in new technologies.

Bash shortcuts can make your workflow really quick.

So here's a shortcut to make adding shortcuts really quick.

Put this in your ~/.bash_profile

source ~/.aliases

and add this in ~/.aliases

alias aliases="vim ~/.aliases; source ~/.aliases;"

If I want to make a new shortcut to take me to my ~/dev folder,

I press aliases and type enter, then I paste this

alias dev="mkdir -p ~/dev; cd ~/dev"

and save and quit using :wq (VIM) and now you can use your new alias immediately.

typing dev should take you to your dev folder from any where in your terminal.