Files
opalfiles/.config/zsh/.zshrc
2022-01-17 22:47:59 -08:00

33 lines
866 B
Bash

#### ~~~~ General ~~~~ #####
export ZSH="$XDG_CONFIG_HOME/oh-my-zsh"
HISTFILE=$XDG_CONFIG_HOME/zsh/.history
ZSH_THEME="mrtazz"
DISABLE_AUTO_UPDATE="true"
ENABLE_CORRECTION="true"
plugins=(git)
source $ZSH/oh-my-zsh.sh # This has to stay below plugins.
#### ~~~~ Path Additions ~~~~ #####
export PATH=/home/opal/scripts:$PATH # Scripts
export PATH=/home/opal/go/bin:$PATH # Golang Path
#### ~~~~ Locale ~~~~ #####
export LANG=en_US.UTF-8
#### ~~~ Programs ~~~~ ####
pfetch
# #### ~~~~ Import ~~~~ #####
ALIAS_LOCATION="$XDG_CONFIG_HOME/zsh/zsh_aliases"
FUNCTION_LOCATION="$XDG_CONFIG_HOME/zsh/zsh_functions"
. $ALIAS_LOCATION
. $FUNCTION_LOCATION
# ## SSH Agent
# if ! pgrep -u "$USER" ssh-agent > /dev/null; then
# ssh-agent > "$XDG_RUNTIME_DIR/ssh-agent.env"
# fi
# if [ ! "$SSH_AUTH_SOCK" ]; then
# . "$XDG_RUNTIME_DIR/ssh-agent.env" > /dev/null
# fi