Level up! (^・o・^)ノ”

This commit is contained in:
Joty
2018-07-26 14:06:14 +09:30
parent 37b7ab009e
commit b6ddf198ce

View File

@@ -1,27 +1,38 @@
# quickz-sh # quickz-sh
A simple script to setup an awesome shell environment. A simple script to setup an awesome shell environment.
Quickly install and setup zsh and oh-my-zsh (https://github.com/robbyrussell/oh-my-zsh) with Quickly install and setup zsh and oh-my-zsh (https://github.com/robbyrussell/oh-my-zsh) with
* powerlevel9k theme (https://github.com/bhilburn/powerlevel9k/), * powerlevel9k theme (https://github.com/bhilburn/powerlevel9k/)
* Powerline fonts(https://github.com/powerline/fonts), * Powerline fonts(https://github.com/powerline/fonts)
* zsh-completions (https://github.com/zsh-users/zsh-completions), * zsh-completions (https://github.com/zsh-users/zsh-completions)
* zsh-autosuggestions (https://github.com/zsh-users/zsh-autosuggestions), * zsh-autosuggestions (https://github.com/zsh-users/zsh-autosuggestions)
* zsh-syntax-highlighting (https://github.com/zsh-users/zsh-syntax-highlighting), * zsh-syntax-highlighting (https://github.com/zsh-users/zsh-syntax-highlighting)
* history-substring-search (https://github.com/zsh-users/zsh-history-substring-search), * history-substring-search (https://github.com/zsh-users/zsh-history-substring-search)
* fzf (https://github.com/junegunn/fzf), * fzf (https://github.com/junegunn/fzf)
* k (https://github.com/supercrabtree/k) * k (https://github.com/supercrabtree/k)
* marker (https://github.com/pindexis/marker) * marker (https://github.com/pindexis/marker)
* todotxt (https://github.com/todotxt/todo.txt-cli)
All oh-my-zsh plugins are installed under ~/.oh-my-zsh
Other tools (fzf,marker,todo) are installed in ~/.quickzsh
NOTE: marker's shortcut "Ctr+t" clashed with fzf so I rebound it to "Ctr +b"
## Demo
Watch this to get an idea of what your shell (well, life!) could be like!!
[![asciicast](https://asciinema.org/a/DWdnOayem0yUCgQH5UrVZryM4.png)](https://asciinema.org/a/DWdnOayem0yUCgQH5UrVZryM4)
## Installation ## Installation
Requirements: Requirements:
`wget git zsh` will be Automatically installed if not present. `python` is required to run '--cp-hist' `python3` or `python` is required to run option '--cp-hist'
``` bash ``` bash
git clone https://github.com/jotyGill/quickz-sh.git git clone https://github.com/jotyGill/quickz-sh.git
cd quickz-sh cd quickz-sh
./quickz.sh ./quickz.sh
``` ```
Optionally run it with '--cp-hist' to copy command history from .bash_history to .zsh_history. First time run it with '--cp-hist' instead, to copy command history from .bash_history to .zsh_history.
``` bash ``` bash
./quickz.sh --cp-hist # don't run multiple times ./quickz.sh --cp-hist # running multiple times will duplicate history entries
``` ```
Suggestions about more cool tools are always welcome :)