Last active
February 21, 2018 02:09
-
-
Save aramatev/da2328e99063c41c314a9e0c15e87311 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Prereq: | |
apt-get install zsh | |
apt-get install git-core | |
Getting zsh to work in ubuntu is weird, since sh does not understand the source command. So, you do this to install zsh | |
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh | |
and then you change your shell to zsh | |
chsh -s `which zsh` | |
#and then restart | |
sudo shutdown -r 0 | |
This problem is explained in depth in this issue | |
You need the Powerline font to have your CLI with show git icons correctly | |
sudo apt install fonts-powerline | |
OR | |
git clone https://github.com/powerline/fonts.git --depth=1 | |
# install | |
cd fonts | |
./install.sh | |
links: | |
https://medium.com/wearetheledger/oh-my-zsh-made-for-cli-lovers-installation-guide-3131ca5491fb | |
https://gist.github.com/shaykalyan/cd276a7d812dd393caf1 | |
https://gist.github.com/tsabat/1498393 | |
https://gist.github.com/kevin-smets/8568070 | |
cd ~/.oh-my-zsh/custom/plugins | |
git clone https://github.com/zsh-users/zsh-autosuggestions | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting | |
add to .zshrc plugins | |
z zsh-autosuggestions zsh-syntax-highlighting | |
https://gist.github.com/renshuki/3cf3de6e7f00fa7e744a | |
hange theme colors to solarize | |
dconf is required if you don't already have it. | |
sudo apt-get install dconf-cli | |
git clone git://github.com/sigurdga/gnome-terminal-colors-solarized.git ~/.solarized | |
cd ~/.solarized | |
./install.sh | |
I recommend you option 1 (dark theme) which is just great. | |
Choose option 1 to download seebi' dircolors-solarized | |
After installation, open .zshrc and add the line: | |
eval `dircolors ~/.dir_colors/dircolors` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For lxterminal colors:
https://askubuntu.com/questions/442887/changing-the-colors-of-lxterminal
https://askubuntu.com/questions/123268/changing-colors-for-user-host-directory-information-in-terminal-command-prompt/123306#123306