Skip to content

Instantly share code, notes, and snippets.

@aramatev
Last active February 21, 2018 02:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aramatev/da2328e99063c41c314a9e0c15e87311 to your computer and use it in GitHub Desktop.
Save aramatev/da2328e99063c41c314a9e0c15e87311 to your computer and use it in GitHub Desktop.
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`