18.01.2020 Views

Working with Linux

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

instructions for installing the oh-my-zsh framework. The installation process is a one-line command

with curl or wget. Let's install it using both the command one by one:

Via curl:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-myzsh/master/tools/install.sh)"

Via wget:

sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-myzsh/master/tools/install.sh

-O -)"

You will see that the command is giving an error saying that git is not installed, so we need to install

that too. The following command-line is used to install git:

sudo apt install git

Notice how easy it is to install software in Ubuntu. This is also a big productivity booster; every

common software package we might need is already prepackaged in the remote software repository

and it takes us just one command to add new software to our computer.

Now that we have git installed, let's run the command again. We can see that this time it's working

successfully and it's bringing us to our new shell. Oh-my-zsh also changes the default shell to zsh.

After installation, the first thing to do is go pick a theme. To see all available themes, run this:

ls ~/.oh-my-zsh/themes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!