dotfiles/zsh/.zshrc
2016-03-30 22:52:31 +02:00

33 lines
661 B
Bash

# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Default plugins (used everywhere)
plugins=(git systemd)
ZSH_THEME="lambda"
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