# 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 setopt HIST_IGNORE_DUPS 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/.rvm/bin" "$HOME/games/bin" "$HOME/.config/alternatives" "$HOME/.local/bin" "$HOME/bin" "$HOME/.gem/ruby/2.3.0/bin/" # GPG GPG_TTY=$(tty) export GPG_TTY # EDITOR EDITOR=vim export EDITOR # jspass completion compdef _pass jspass