Skip to content

Instantly share code, notes, and snippets.

@loliGothicK
Created January 18, 2019 06:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loliGothicK/7872ab765164544770ec03136789f7eb to your computer and use it in GitHub Desktop.
Save loliGothicK/7872ab765164544770ec03136789f7eb to your computer and use it in GitHub Desktop.
# zplug
source ~/.zplug/init.zsh
zplug 'zplug/zplug', hook-build:'zplug --self-manage'
# theme
zplug "bhilburn/powerlevel9k", use:powerlevel9k.zsh-theme
# syntax highlighting (https://github.com/zsh-users/zsh-syntax-highlighting)
zplug "zsh-users/zsh-syntax-highlighting"
# history関係
zplug "zsh-users/zsh-history-substring-search"
# タイプ補完
zplug "zsh-users/zsh-autosuggestions"
zplug "zsh-users/zsh-completions"
zplug "chrissicool/zsh-256color"
# 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
HISTSIZE=1000
SAVEHIST=1000
HISTFILE=~/.zsh_history
POWERLEVEL9K_RPROMPT_ON_NEWLINE=(dir newline vcs)
eval $(thefuck --alias)
# opam configuration
test -r /home/mitma/.opam/opam-init/init.zsh && . /home/mitma/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true
GOPATH=~/go
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment