https://askubuntu.com/questions/250012/how-do-i-install-z-script
I was installing z script
on Ubuntu.
I followed the second answer and it worked.
# Download to latest to home dir
wget https://raw.githubusercontent.com/rupa/z/master/z.sh -O ~/z.sh
# Add to .bashrc
echo . /path/to/z.sh >> ~/.bashrc
# Add to .zshrc
echo . /path/to/z.sh >> ~/.zshrc
My .bashrc
contains . /var/jenkins_home/z.sh
w
But I could not figure out what echo .
does in this line.
echo . /path/to/z.sh >> ~/.bashrc
Why is there a space before and after the period .
?