dotfiles/zsh/.zshrc

38 lines
763 B
Bash
Raw Normal View History

2016-03-30 22:52:31 +02:00
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Default plugins (used everywhere)
plugins=(git systemd)
2016-09-04 03:30:09 +02:00
ZSH_THEME="zhann"
2016-03-30 22:52:31 +02:00
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
2016-09-04 04:28:32 +02:00
# Colors files (if file exists
if [ -f "$HOME/.dir_colors" ]; then
eval `dircolors ~/.dir_colors`
fi