Bash

Open .bash_profile in Visual Studio Code

Copy
1code ./~.bash_profile

Define a Bash alias

Open bashrc file in editor.

Copy
1code ./~.bashrc

And add you custom alias in following format.

Copy
1alias alias_name='command'