Quantcast
Channel: How to reload .bash_profile from the command line - Stack Overflow
Viewing all articles
Browse latest Browse all 16

Answer by 7urkm3n for How to reload .bash_profile from the command line

$
0
0

Use

alias reload!=". ~/.bash_profile"

Or if want to add logs via functions:

function reload! () {    echo "Reloading bash profile...!"    source ~/.bash_profile    echo "Reloaded!!!"}

Viewing all articles
Browse latest Browse all 16

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>