shell-scripts/home_zsh/.zshrc
2018-09-15 15:02:45 -05:00

28 lines
581 B
Bash

#
# Executes commands at the start of an interactive session.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
# Load aliases
if [ -f ~/.zsh/zshalias ]; then
source ~/.zsh/zshalias
else
print "404: ~/.zsh/zshalias not found."
fi
# For tilix vte support
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
source /etc/profile.d/vte.sh
fi
# Necessary for loading custom prezto theme
autoload -Uz promptinit
promptinit
prompt paradox