dotfiles/zsh/.zshrc

39 lines
790 B
Bash

# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Default plugins (used everywhere)
plugins=(git systemd)
ZSH_THEME="zhann"
DISABLE_AUTO_UPDATE="true"
source $ZSH/oh-my-zsh.sh
export EDITOR='vim'
# Set GPG_AGENT_INFO
export GPG_TTY=$(tty)
if [ -f "/tmp/.gpg-agent-info" ]; then
. "/tmp/.gpg-agent-info"
export GPG_AGENT_INFO
fi
# Pick a local at random for this session
export LANG=$(locale -a | grep -vE "(C|POSIX)" | sort -R | head -n1)
unset LC_CTYPE
# Some more aliases
source $HOME/.zsh-aliases
# Define color names
source $HOME/.zsh-color-names
# Local config (not shared)
if [ -f "$HOME/.zsh-local-$HOST" ]; then
source $HOME/.zsh-local-$HOST
fi
# Colors files (if file exists
if [ -f "$HOME/.dir_colors" ]; then
eval `dircolors ~/.dir_colors`
fi