A simple script to setup an awesome shell environment. I made a single change to @jotyGill code, replacing the zsh theme with lukerandall one, because I find it cleaner and easier on the eyes Quickly install and setup zsh and oh-my-zsh (https://github.com/robbyrussell/oh-my-zsh) with
- lukerandall theme (https://github.com/ohmyzsh/ohmyzsh/blob/master/themes/lukerandall.zsh-theme)
- Nerd-Fonts (https://github.com/ryanoasis/nerd-fonts)
- zsh-completions (https://github.com/zsh-users/zsh-completions)
- zsh-autosuggestions (https://github.com/zsh-users/zsh-autosuggestions)
- zsh-syntax-highlighting (https://github.com/zsh-users/zsh-syntax-highlighting)
- history-substring-search (https://github.com/zsh-users/zsh-history-substring-search)
- fzf (https://github.com/junegunn/fzf)
- marker (https://github.com/pindexis/marker)
- todotxt (https://github.com/todotxt/todo.txt-cli)
Sets following useful aliases:
- l="ls -lah" - just type "l" instead of "ls -lah"
- alias k="k -h" - show human readable filesizes, in kb, mb etc
- x="exit"
- https - make httpie use https
- myip - (wget -qO- https://wtfismyip.com/text) - what's my ip: quickly find out external IP
- cheat - (https://github.com/chubin/cheat.sh) - cheatsheets in the terminal!
- speedtest - (curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python3 -) run speedtest on the fly
- dadjoke - (curl https://icanhazdadjoke.com) - terminally sick jokes
- dict - (curl "dict://dict.org/d:$1 $2 $3") - dictionary definitions
- ipgeo - (curl "http://api.db-ip.com/v2/free/$1") - finds geo location from IP
- corona - (curl "https://corona-stats.online/") - shows corona virus spread live stats
Currently the command prompt looks like this (easily customize it in zshrc) https://cl.ly/f701d00760f8059e06dc
Requirements:
git
to clone it.python3
orpython
is required to run option '-c' which copies history from .bash_history
git clone https://github.com/ickam/quickz-sh.git
cd quickz-sh
./quickz.sh -c # only run with '-c' the first time, running multiple times will duplicate history entries
Change your terminals fonts to either "RobotoMono Nerd Font" or "Hack Nerd Font" or "DejaVu Sans Mono Nerd Fonts". You can also manually install Nerd Fonts of your choice.
-
If you are already using zsh, your zsh config will be backed up to .zshrc-backup-date
-
If the text/icons look broken, make sure your terminal is using one of the Nerd fonts. discussion. I recommend "RobotoMono Nerd Font"
-
marker's shortcut "Ctr+t" clashed with fzf so I rebound it to "Ctr +b"
-
All oh-my-zsh plugins are installed under ~/.oh-my-zsh, Other tools (fzf,marker,todo) are installed in ~/.quickzsh
Suggestions about more cool tools are always welcome :)