Skip to content

Instantly share code, notes, and snippets.

@beforan
Forked from Hodgy/zsh-plugin-list
Last active June 26, 2018 13:15
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 beforan/209962cfe9a0171f8c800133d6133a6e to your computer and use it in GitHub Desktop.
Save beforan/209962cfe9a0171f8c800133d6133a6e to your computer and use it in GitHub Desktop.
ZSH bits for linux / mac

CentOS / RH flavours

  • sudo yum install zsh autojump autojump-zsh
  • run oh my zsh install script

Debian flavours

  • sudo apt install zsh autojump -y
  • run oh my zsh install script

Plugins list with mac bits removed

plugins=(autojump colorize common-aliases git)

optionally add docker stuff if docker is installed ;)

WSL gotchas

  • git and curl don't come preinstalled, and are needed by oh my zsh
  • add unsetopt BG_NICE to .zshrc to fix some things (like autojump)
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
alias gs="git status"
alias reload=". ~/.zshrc && echo 'ZSH config reloaded from ~/.zshrc'"
alias zshrc="vim ~/.zshrc && reload"
alias tailf="t"
alias dc="docker-compose"
alias please='sudo $(fc -nl -1)'
plugins=(autojump brew colorize common-aliases composer docker docker-compose git git-extras grunt gulp laravel5 redis-cli copybuffer)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment