Decluttering my mind into the web ...
date posted: 2021-Oct-12, last edit date: 2021-Oct-12
Note: Oh-My-ZSH has many plugins. You can find a list of pre-installed plugins here.
# install sudo apt-get install zsh # make default shell whereis zsh # take the first path and put it in the next command sudo usermod -s /usr/bin/zsh $(whoami) sudo reboot # install plugin, font, and theme sudo apt-get install powerline fonts-powerline sudo apt-get install zsh-theme-powerlevel9k # enable theme echo "source /usr/share/powerlevel9k/powerlevel9k.zsh-theme" >> ~/.zshrc # enable syntax highlighting sudo apt-get install zsh-syntax-highlighting echo "source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc # install Oh-My-ZSH sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" # enable theme and plugin echo "source /usr/share/powerlevel9k/powerlevel9k.zsh-theme" >> ~/.zshrc echo "source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc # enable colored-man-pages plugin vim ~/.zshrc # add "colored-man-pages" to the plugins section (space delimeted) # install zsh-autosuggestions git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions # add "zsh-autosuggestions" to the plugins section (space delimeted) # install zsh-autoswitch-virtualenv git clone "https://github.com/MichaelAquilina/zsh-autoswitch-virtualenv.git" "$ZSH_CUSTOM/plugins/autoswitch_virtualenv" # add "autoswitch_virtualenv" to the plugins section (space delimeted) # fix virtualenv issue by adding the following line to the end of ~/.zshrc POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status root_indicator background_jobs history time virtualenv)
References:
# | Post Title | Date Posted | Last Edit Date |
---|---|---|---|
1 | New tools for data analysis (ipython-sql and Azure Data Studio) | 2021-10-16 | 2021-10-16 |
2 | How to setup a remote jupyter server | 2021-10-13 | 2021-10-13 |
3 | current post -- How to setup ZSH | 2021-10-12 | 2021-10-12 |
4 | Concepts in Data Architecture | 2021-05-01 | 2021-10-16 |
5 | Loading data into PostgreSQL reference | 2021-03-19 | 2021-03-19 |
6 | SQLite <--> Pandas reference | 2021-03-15 | 2021-03-15 |
7 | Creating an automated data mart (in SQL) | 2020-07-16 | 2020-07-16 |
8 | Personal finance management and open banking | 2020-07-12 | 2020-07-12 |
9 | Quick SQL reference | 2020-07-03 | 2020-11-29 |
10 | How to back up Digital Ocean Spaces (S3 compatible storage) | 2020-06-07 | 2020-07-03 |
11 | PostgreSQL initiation | 2020-05-25 | 2020-06-01 |