Skip to content

Instantly share code, notes, and snippets.

@analyticd
Created January 9, 2020 04:54
Show Gist options
  • Select an option

  • Save analyticd/13e1a7179ad89d5c9053ceb4d9ab7cd5 to your computer and use it in GitHub Desktop.

Select an option

Save analyticd/13e1a7179ad89d5c9053ceb4d9ab7cd5 to your computer and use it in GitHub Desktop.

Revisions

  1. analyticd created this gist Jan 9, 2020.
    38 changes: 38 additions & 0 deletions zshrc.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,38 @@
    ###############
    ## oh-my-zsh ##
    ###############
    # To install:
    # curl -Lo install.sh https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh
    # sh install.sh
    # or
    # sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    # ohmyzsh will create a ~/.zshrc that blows away my symbolic link to
    # ~/elisp/zsh/zshrc. I have to remove that and then recreate the symbolic link:
    # ln -s ~/elisp/zsh/zshrc ~/.zshrc
    # export ZSH=${HOME}/.oh-my-zsh
    # ZSH_THEME="cloud"
    # plugins=(git)
    # source $ZSH/oh-my-zsh.sh

    #############
    ## Zplugin ##
    #############
    # # Install: mkdir ~/.zplugin && git clone --depth 1 https://github.com/zdharma/zplugin.git ~/.zplugin/bin
    # source ${HOME}/.zplugin/bin/zplugin.zsh

    # # Two regular plugins loaded without tracking.
    # zplugin light zsh-users/zsh-autosuggestions
    # zplugin light zdharma/fast-syntax-highlighting

    # # Plugin history-search-multi-word loaded with tracking.
    # # zplugin load zdharma/history-search-multi-word
    # zplugin load jimeh/zsh-peco-history

    # # zsh equivalent of z.sh; provides z command
    # zplugin load agkozak/zsh-z

    # # Load the pure theme, with zsh-async library that's bundled with it.
    # zplugin ice pick"async.zsh" src"pure.zsh"
    # zplugin light sindresorhus/pure
    # # change the path color
    # zstyle :prompt:pure:path color white