Pushing ezsh RC
This commit is contained in:
23
README.md
23
README.md
@@ -12,10 +12,15 @@ Quickly install and setup zsh and oh-my-zsh (https://github.com/robbyrussell/oh-
|
||||
* marker (https://github.com/pindexis/marker)
|
||||
* todotxt (https://github.com/todotxt/todo.txt-cli)
|
||||
|
||||
Sets following useful aliases:
|
||||
Sets following useful aliases and ohmyzsh plugins. **You can add more or overwrite these in your personal zsh config files under `~/.config/ezsh/zshrc/`**
|
||||
* l="ls -lah" - just type "l" instead of "ls -lah"
|
||||
* alias k="k -h" - show human readable filesizes, in kb, mb etc
|
||||
* x="exit"
|
||||
* e="exit"
|
||||
* [x="extract"](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/extract) - extract any compressed files
|
||||
* [z](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/z) - quickly jump to most visited directories
|
||||
* [web-search](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/web-search) - search on the web from cli
|
||||
* [sudo](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/sudo) - easily prefix your commands with sudo by pressing `esc` twice
|
||||
* [systemd](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/systemd) - many useful aliases for systemd
|
||||
* 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!
|
||||
@@ -27,7 +32,7 @@ Sets following useful aliases:
|
||||
|
||||
## Demo
|
||||
|
||||
Currently the command prompt looks like this (easily customize it by placing your config in ~/.config/ezsh/zshrc/)
|
||||
Command prompt looks like this (easily customize it by placing your configs in ~/.config/ezsh/zshrc/)
|
||||

|
||||
user : directory : git stats : last command exit code free memory: load : time
|
||||
|
||||
@@ -44,10 +49,10 @@ Requirements:
|
||||
``` bash
|
||||
git clone https://github.com/jotyGill/ezsh
|
||||
cd ezsh
|
||||
./ez.sh -c # only run with '-c' the first time, running multiple times will duplicate history entries
|
||||
./install.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".
|
||||
This will install the setup under `~/.config/ezsh/`
|
||||
Change your terminal's 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.
|
||||
|
||||
## Notes
|
||||
@@ -57,9 +62,9 @@ You can also manually install Nerd Fonts of your choice.
|
||||
|
||||
* 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
|
||||
|
||||
* The look of the shell can be very easily customised[https://github.com/bhilburn/powerlevel9k#prompt-customization] by editing POWERLEVEL9K settings in .zshrc (from line ~15)
|
||||
* All oh-my-zsh plugins are installed under ~/.config/ezsh/oh-my-zsh/plugin, Other tools (fzf,marker,todo) are installed in ~/.config/ezsh/
|
||||
|
||||
* The look of the shell can be very easily customised[https://github.com/bhilburn/powerlevel9k#prompt-customization] by overwriting POWERLEVEL10K settings
|
||||
in your personal config file under ~/.config/ezsh/zshrc/ . See my setup under example/personal_rc.zsh
|
||||
|
||||
Suggestions about more cool tools are always welcome :)
|
||||
|
||||
10
example-config/personal_rc.zsh
Normal file
10
example-config/personal_rc.zsh
Normal file
@@ -0,0 +1,10 @@
|
||||
# This my personal zshrc configs. Feel free to use it and modify according to your needs
|
||||
# Place all your .zshrc configurations (including this one) in a single or multiple files under ~/.config/ezsh/zshrc/ folder
|
||||
|
||||
# Additional OH-MY-ZSH plugins to enable
|
||||
plugins+=(lol httpie docker docker-compose pyenv pip)
|
||||
|
||||
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(virtualenv status command_execution_time background_jobs todo ram load rvm time)
|
||||
|
||||
|
||||
# Custom Aliases, add your personal aliases here
|
||||
@@ -78,8 +78,6 @@ plugins=(
|
||||
zsh-autosuggestions
|
||||
zsh-syntax-highlighting
|
||||
history-substring-search
|
||||
git
|
||||
python
|
||||
screen
|
||||
systemd
|
||||
web-search
|
||||
@@ -88,6 +86,8 @@ plugins=(
|
||||
z
|
||||
sudo
|
||||
# httpie
|
||||
# git
|
||||
# python
|
||||
# docker
|
||||
# lol
|
||||
# pip
|
||||
|
||||
@@ -103,7 +103,7 @@ fi
|
||||
if [ -d ~/.config/ezsh/marker ]; then
|
||||
cd ~/.config/ezsh/marker && git pull
|
||||
else
|
||||
git clone --depth 1 https://github.com/pindexis/marker ~/.config/ezsh/marker
|
||||
git clone --depth 1 https://github.com/jotyGill/marker ~/.config/ezsh/marker
|
||||
fi
|
||||
|
||||
if ~/.config/ezsh/marker/install.py; then
|
||||
|
||||
Reference in New Issue
Block a user