30 lines
768 B
Bash
30 lines
768 B
Bash
# Sometimes SSH'ing with Emacs is ungraceful.
|
|
# To remedy this I disable the zsh line editor.
|
|
[[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return
|
|
|
|
|
|
#### ~~~~ 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.
|
|
|
|
#### ~~~~ Autostart ~~~~ #####
|
|
pfetch
|
|
|
|
#### ~~~~ Path Additions ~~~~ #####
|
|
export PATH=/home/opal/scripts:$PATH # Scripts
|
|
|
|
#### ~~~~ Locale ~~~~ #####
|
|
export LANG=en_US.UTF-8
|
|
|
|
|
|
#### ~~~~ Import ~~~~ #####
|
|
ALIAS_LOCATION="$XDG_CONFIG_HOME/zsh/zsh_aliases"
|
|
FUNCTION_LOCATION="$XDG_CONFIG_HOME/zsh/zsh_functions"
|
|
source $ALIAS_LOCATION
|
|
source $FUNCTION_LOCATION
|