Skip to content

Instantly share code, notes, and snippets.

@reed-jones
Last active May 30, 2018 03:41
Show Gist options
  • Save reed-jones/ffa91d9973e14116c03fadd134b00447 to your computer and use it in GitHub Desktop.
Save reed-jones/ffa91d9973e14116c03fadd134b00447 to your computer and use it in GitHub Desktop.
# Set up the prompt
setopt histignorealldups sharehistory
# Keep 1000 lines of history within the shell and save it to ~/.zsh_history:
HISTSIZE=1000
SAVEHIST=1000
HISTFILE=~/.zsh_history
source ~/antigen.zsh
antigen use oh-my-zsh
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle lukechilds/zsh-nvm
antigen bundle colored-man-pages
antigen theme https://gist.github.com/reed-jones/589a1509a40f45004c7b94427b94ca4c robbyrussell
antigen apply
alias nv=nvim
# https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/
alias dotfile='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
s() { pwd > ~/.save_dir ; }
j() {
local dir="$(pwd)" ;
cd "$(cat ~/.save_dir)" ;
echo "$dir" > ~/.save_dir;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment