Skip to content

Instantly share code, notes, and snippets.

@jweiss
Last active March 13, 2026 21:43
Show Gist options
  • Select an option

  • Save jweiss/89959fbb61d2442a5b7fbd2a078410b4 to your computer and use it in GitHub Desktop.

Select an option

Save jweiss/89959fbb61d2442a5b7fbd2a078410b4 to your computer and use it in GitHub Desktop.
ZSH rc
# history settings
HISTSIZE=10000 # lines kept in memory
SAVEHIST=10000 # lines saved to disk
# make ZSH history behave like bash's history:
alias history='fc -l -${HISTSIZE}'
alias ll="ls -aslFh"
export EDITOR="/usr/local/bin/mate -w"
# Homebrew Ruby
export PATH="$HOME/.local/bin:/opt/homebrew/opt/ruby/bin:/opt/homebrew/lib/ruby/gems/3.4.0/bin:$PATH"
export LDFLAGS="-L/opt/homebrew/opt/ruby/lib"
export CPPFLAGS="-I/opt/homebrew/opt/ruby/include"
# Prompt
source ~/.zsh_prompt.zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment