54 lines
800 B
Bash
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
|