dotfiles/homedir/.config/zsh.d/modules/config
fbt 1903d512a8 ugh
Signed-off-by: fbt <fbt@fleshless.org>
2017-06-13 16:00:15 +03:00

54 lines
800 B
Bash

# 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 LC_ALL='en_US.UTF-8'
# dotfiles config
dotfiles_dir="$HOME/git/dotfiles"
# PATH
set_misc_path \
"$HOME/.config/alternatives" \
"$HOME/.rvm/bin" \
"$HOME/games/bin" \
"$HOME/.local/bin" \
"$HOME/.nails/bin"
# GPG
GPG_TTY=$(tty)
export GPG_TTY
# EDITOR
export EDITOR=vim