Files
dotfiles/zsh/.config/zsh/zsh-exports
2021-12-15 11:03:47 -05:00

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"