mirror of
https://github.com/jakejarvis/dotfiles.git
synced 2025-04-26 03:45:21 -04:00
37 lines
832 B
Bash
37 lines
832 B
Bash
# Path to your dotfiles (aka the cloned Git repo).
|
|
export DOTFILES=$HOME/.dotfiles/zsh
|
|
|
|
# Path to your oh-my-zsh installation.
|
|
export ZSH=$HOME/.oh-my-zsh
|
|
|
|
# Default to nano 'cause I'm a wimp.
|
|
export VISUAL="nano"
|
|
export EDITOR="nano"
|
|
|
|
# Adjust history for speed.
|
|
HISTFILE=~/.zsh_history
|
|
HISTSIZE=10000
|
|
SAVEHIST=10000
|
|
|
|
# Oh My ZSH settings:
|
|
ZSH_CUSTOM=$DOTFILES
|
|
ZSH_THEME="agnoster"
|
|
plugins=(
|
|
colorize
|
|
osx
|
|
zsh-syntax-highlighting
|
|
zsh-autosuggestions
|
|
)
|
|
|
|
# Load everything!
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
# Fix slow paste problem w/ zsh-syntax-highlighting plugin.
|
|
# https://github.com/zsh-users/zsh-syntax-highlighting/issues/295
|
|
zstyle ':bracketed-paste-magic' active-widgets '.self-*'
|
|
|
|
# Other miscellaneous settings:
|
|
export HOMEBREW_NO_ANALYTICS=1
|
|
export HOMEBREW_NO_INSECURE_REDIRECT=1
|
|
export HOMEBREW_CASK_OPTS=--require-sha
|