dotfiles/homedir/.config/zsh.d/modules/config

56 lines
849 B
Plaintext
Raw Normal View History

# Basic zsh configuration
# vim: ft=zsh
# Custom completion
fpath=( /etc/zsh/completion $fpath )
# Completion
setopt noautomenu nomenucomplete
# Interactive comments
setopt interactive_comments
# Disable autocd
unsetopt autocd
# Command completion
autoload -U compinit
compinit
# Complete dotfiles
_comp_options+=( globdots )
# History
HISTFILE=~/.zsh_history
SAVEHIST=9001
HISTSIZE=9001
HISTCONTROL=erasedups
HISTTIMEFORMAT="%Y-%m-%d %H:%M:%S"
# Fix retarded things
NULLCMD=true
READNULLCMD=true
# Locale
export LANG='en_IE.UTF-8'
export LC_ALL='en_IE.UTF-8'
# dotfiles config
dotfiles_dir="$HOME/git/dotfiles"
# PATH
set_misc_path \
"$HOME/.config/alternatives" \
"$HOME/games/bin" \
"$HOME/.local/bin" \
"$HOME/.nails/bin" \
"$HOME/.winepx/bin" \
"$HOME/.rvm/bin"
# GPG
GPG_TTY=$(tty)
export GPG_TTY
# EDITOR
export EDITOR=vim