Skip to content

Find easily which env you are in while you are doing multiple SSH session. Similar to hostname

License

Notifications You must be signed in to change notification settings

sbimochan/whichenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Which Env ?

Edit ~/.bashrc file to permanently store variable or according to your SHELL.

export whichenv = "dev"

Similarly add these variables in other environments like qa, staging, prod, etc.

Reload

source ~/.bashrc

Install whichenv

sudo curl https://raw.githubusercontent.com/sbimochan/whichenv/master/whichenv -o /usr/local/bin/whichenv && sudo chmod +x /usr/local/bin/whichenv

Execute it

whichenv

About

Find easily which env you are in while you are doing multiple SSH session. Similar to hostname

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages