Skip to content

Instantly share code, notes, and snippets.

@michalhosna
Last active February 25, 2020 22:34
Show Gist options
  • Save michalhosna/c38213e340c5319bd3dca7850c2374b6 to your computer and use it in GitHub Desktop.
Save michalhosna/c38213e340c5319bd3dca7850c2374b6 to your computer and use it in GitHub Desktop.
Public version of .zshrc
" Gotta be first
set nocompatible
" --- General settings ---
set backspace=indent,eol,start
set ruler
set number
set showcmd
set incsearch
set hlsearch
syntax on
source /usr/local/share/antigen/antigen.zsh
antigen use oh-my-zsh
antigen bundle git
antigen bundle lein
antigen bundle kubectl
antigen bundle command-not-found
antigen bundle docker
antigen bundle gnu-utils
antigen bundle docker-compose
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle mafredri/zsh-async
antigen bundle sindresorhus/pure
antigen apply
HYPHEN_INSENSITIVE="true"
COMPLETION_WAITING_DOTS="true"
HIST_STAMPS="yyyy-mm-dd"

To set zsh as public shell

sh -c "echo $(which zsh) >> /etc/shells" && chsh -s $(which zsh)

Debian

apt install zsh zsh-antigen

And antigen is then on /usr/share/zsh-antigen/antigen.zsh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment