Created
June 29, 2020 22:56
-
-
Save t-t-t-t-t/03ccfe9a63766e87ede052de7504d000 to your computer and use it in GitHub Desktop.
Revisions
-
lx38 revised this gist
Jan 9, 2018 . 1 changed file with 3 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # install zplug if required ! [[ -d $HOME/.zplug ]] && curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh| zsh # zplug init source ~/.zplug/init.zsh @@ -17,6 +17,7 @@ zplug "modules/utility", from:prezto zplug "modules/completion", from:prezto export HISTFILE=$ZPLUG_HOME/zhistory export LESSHISTFILE=- export HISTSIZE=500 unsetopt AUTO_NAME_DIRS unsetopt CORRECT @@ -46,7 +47,4 @@ export PATH=$GOPATH/bin:$PATH # fzf source ~/.zplug/repos/junegunn/fzf/shell/key-bindings.zsh source ~/.zplug/repos/junegunn/fzf/shell/completion.zsh -
Igor L revised this gist
Oct 30, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export _Z_DATA=$ZPLUG_REPOS/rupa/z/data zplug "rupa/z", use:z.sh # fuzzy filtering zplug "junegunn/fzf", as:command, hook-build:"./install --bin", use:"bin/{fzf-tmux,fzf}" # install plugins which haven't been installed yet if ! zplug check --verbose; then -
Igor L revised this gist
Oct 30, 2016 . 1 changed file with 21 additions and 12 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,25 +5,27 @@ source ~/.zplug/init.zsh # prezto zstyle ':prezto:module:prompt' theme adam1 zplug "modules/prompt", from:prezto zplug "modules/environment", from:prezto zplug "modules/osx", from:prezto zplug "modules/terminal", from:prezto zplug "modules/editor", from:prezto zplug "modules/history", from:prezto zplug "modules/directory", from:prezto zplug "modules/utility", from:prezto zplug "modules/completion", from:prezto export HISTFILE=$ZPLUG_HOME/zhistory export LESSHISTFILE=- unsetopt AUTO_NAME_DIRS unsetopt CORRECT # navigation export _Z_DATA=$ZPLUG_REPOS/rupa/z/data zplug "rupa/z", use:z.sh # fuzzy filtering zplug "junegunn/fzf", as:command, hook-build:"./install --bin", use:"bin/fzf-tmux" # install plugins which haven't been installed yet if ! zplug check --verbose; then @@ -41,3 +43,10 @@ zplug load # golang: initialize GOPATH export GOPATH=$HOME/Projects/Go export PATH=$GOPATH/bin:$PATH # fzf source ~/.zplug/repos/junegunn/fzf/shell/key-bindings.zsh source ~/.zplug/repos/junegunn/fzf/shell/completion.zsh export FZF_DEFAULT_COMMAND='tree -if' export FZF_CTRL_T_COMMAND='tree -if' export FZF_ALT_C_COMMAND='tree -ifd' -
Igor L revised this gist
Oct 30, 2016 . 1 changed file with 15 additions and 33 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,44 +1,26 @@ # install zplug if required ! [[ -d $HOME/.zplug ]] && curl -sL zplug.sh/installer | zsh # zplug init source ~/.zplug/init.zsh # prezto export ZDOTDIR=$ZPLUG_REPOS export HISTFILE=$ZPLUG_HOME/zhistory zstyle ':prezto:load' pmodule environment prompt osx terminal editor history directory utility completion zstyle ':prezto:module:prompt' theme adam1 zplug "sorin-ionescu/prezto", dir:"$ZPLUG_REPOS/.zprezto", as:plugin, use:"init.zsh" unsetopt AUTO_NAME_DIRS # disable shortening of pwd to match vars unsetopt CORRECT # disable correcting wrong imput export LESSHISTFILE=- # disable less history file # navigation export _Z_DATA=$ZPLUG_REPOS/rupa/z/data zplug "rupa/z", use:z.sh # fuzzy filtering # zplug "junegunn/fzf-bin", from:gh-r, as:command, rename-to:fzf, use:"*darwin*amd64*" zplug "junegunn/fzf", as:command, hook-build:"./install --bin", use:"bin", hook-load:". $ZPLUG_REPOS/junegunn/fzf/shell/*.zsh" export FZF_DEFAULT_COMMAND='tree -if' export FZF_CTRL_T_COMMAND='tree -if' export FZF_ALT_C_COMMAND='tree -ifd' -
Igor L revised this gist
Feb 20, 2016 . 1 changed file with 49 additions and 29 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,41 +1,61 @@ # set the prezto modules to load zstyle ':prezto:load' pmodule \ 'environment' \ 'terminal' \ 'editor' \ 'history' \ 'directory' \ 'spectrum' \ 'utility' \ 'completion' \ 'prompt' \ 'osx' # prezto settings zstyle ':prezto:module:terminal' auto-title 'yes' zstyle ':prezto:*:*' color 'yes' zstyle ':prezto:module:prompt' theme adam1 # install prezto if required ! [[ -d $HOME/.zprezto ]] \ && git clone --recursive https://github.com/sorin-ionescu/prezto.git $HOME/.zprezto # source prezto source $HOME/.zprezto/init.zsh unsetopt AUTO_NAME_DIRS # disable shortening of pwd to match vars unsetopt CORRECT # disable correcting wrong imput export LESSHISTFILE=- # disable less history file # install zplug if required ! [[ -d $HOME/.zplug ]] \ && git clone https://github.com/b4b4r07/zplug $HOME/.zplug # zplug init source ~/.zplug/zplug zplug "b4b4r07/zplug" zplug "Tarrasch/zsh-bd" zplug "rupa/z", of:z.sh # fuzzy filtering zplug "junegunn/fzf-bin", as:command, from:gh-r, file:fzf-tmux, of:"*darwin*amd64*" zplug "junegunn/fzf", of:"shell/*.zsh" export FZF_DEFAULT_COMMAND='tree -if' export FZF_CTRL_T_COMMAND='tree -if' export FZF_ALT_C_COMMAND='tree -ifd' # install plugins which haven't been installed yet if ! zplug check --verbose; then printf "Install? [y/N]: " if read -q; then echo; zplug install else echo fi fi # load zplug zplug load # golang: initialize GOPATH export GOPATH=$HOME/Projects/Go export PATH=$GOPATH/bin:$PATH -
Igor L revised this gist
Feb 15, 2016 . 1 changed file with 2 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,8 +24,7 @@ zplug "sorin-ionescu/prezto", of:"modules/{directory,history,completion}/init.zs if [[ "$TERM" != (dumb|linux|*bsd*) ]] then autoload -Uz promptinit && promptinit setopt prompt_subst prompt adam1 else prompt 'off' fi @@ -39,5 +38,4 @@ if ! zplug check --verbose; then fi # Then, source plugins and add commands to $PATH zplug load -
Igor L created this gist
Feb 15, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,43 @@ source ~/.zplug/zplug zplug "b4b4r07/zplug" # Make sure you use double quotes zplug "zsh-users/zsh-history-substring-search" # Set priority to load command like a nice command # e.g., zsh-syntax-highlighting must be loaded # after executing compinit command and sourcing other plugins # zplug "zsh-users/zsh-syntax-highlighting", nice:10 # ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor root line) # Fuzzy Filtering zplug "junegunn/fzf-bin", as:command, from:gh-r, file:fzf-tmux, of:"*darwin*amd64*" zplug "junegunn/fzf", of:"shell/*.zsh" export FZF_DEFAULT_COMMAND='tree -if' export FZF_CTRL_T_COMMAND='tree -if' export FZF_ALT_C_COMMAND='tree -ifd' # Prezto modules zplug "sorin-ionescu/prezto", of:"modules/{directory,history,completion}/init.zsh" # Prompt Theme if [[ "$TERM" != (dumb|linux|*bsd*) ]] then autoload -Uz promptinit && promptinit setopt prompt_subst zplug "sorin-ionescu/prezto", of:"modules/prompt/functions/prompt_steeef_setup" else prompt 'off' fi # Install plugins if there are plugins that have not been installed if ! zplug check --verbose; then printf "Install? [y/N]: " if read -q; then echo; zplug install fi fi # Then, source plugins and add commands to $PATH zplug load prompt adam1