mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
28 lines
495 B
Bash
28 lines
495 B
Bash
#!/bin/sh
|
|
|
|
HISTSIZE=200
|
|
HISTFILE=$ZDOTDIR/history
|
|
|
|
# shell
|
|
export SHELL="$(which zsh)"
|
|
|
|
# Allow useful scripts in ~/.bin to be in the search path.
|
|
export PATH=~/.bin:$PATH
|
|
|
|
# Add homebrew to the path
|
|
if [ -d /opt/homebrew ]; then
|
|
export PATH=/opt/homebrew/bin:$PATH
|
|
export PATH=/opt/homebrew/sbin:$PATH
|
|
fi
|
|
|
|
# zsh-completions installed by homebrew
|
|
if type brew &>/dev/null; then
|
|
FPATH=$(brew --prefix)/share/zsh-completions:$FPATH
|
|
|
|
autoload -Uz compinit
|
|
compinit
|
|
fi
|
|
|
|
export EDITOR="nvim"
|
|
|