ohmyzsh/oh-my-zsh.sh
Nathan Stilwell 4c9a66ced2
Taking out plugins
I might find something later
2017-04-12 00:39:38 -04:00

29 lines
688 B
Bash

# Puppet Lair
# add a function path
fpath=($ZSH/functions $fpath)
# Load all of the config files in ~/oh-my-zsh that end in .zsh
# TIP: Add files you don't want in git to .gitignore
for config_file ($ZSH/lib/*.zsh); do
source $config_file
done
# Figure out the SHORT hostname
if [ -n "$commands[scutil]" ]; then
# OS X
SHORT_HOST=$(scutil --get ComputerName)
else
SHORT_HOST=${HOST/.*/}
fi
# Save the location of the current completion dump file.
ZSH_COMPDUMP="${ZDOTDIR:-${HOME}}/.zcompdump-${SHORT_HOST}-${ZSH_VERSION}"
# Load and run compinit
autoload -U compinit
compinit -i -d "${ZSH_COMPDUMP}"
# load theme
test -f "$ZSH/themes/$THEME" && source "$ZSH/themes/$THEME"