dotfiles/zsh/config

34 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-08-23 19:41:28 +00:00
#
2019-02-16 19:06:45 +00:00
export XDG_CONFIG_HOME="$HOME/.cache"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
2018-08-23 19:41:28 +00:00
2019-02-16 19:06:45 +00:00
# Begin compinstall
2018-08-23 19:41:28 +00:00
zstyle :compinstall filename '/home/fredefox/.zshrc'
autoload -Uz compinit
2019-02-16 19:06:45 +00:00
compinit -d $XDG_DATA_HOME/zsh/zcompdump-$HOST-$ZSH_VERSION
# End compinstall
export LESSKEY="$XDG_CONFIG_HOME/less/lesskey"
export LESSHISTFILE="$XDG_CACHE_HOME/less/history"
export CARGO_HOME="$XDG_DATA_HOME/cargo"
export DUC_DATABASE="$XDG_DATA_HOME/duc/db"
export ICEAUTHORITY="$XDG_CACHE_HOME/ICEauthority"
export NODE_REPL_HISTORY="$XDG_DATA_HOME/node/repl-history"
export HISTFILE="$XDG_DATA_HOME/zsh/history"
export HISTSIZE=100000
export SAVEHIST=100000
2018-08-23 19:41:28 +00:00
setopt appendhistory extendedglob
unsetopt autocd beep
bindkey -e
2019-02-02 12:27:42 +00:00
# export PATH="$HOME/.local/bin:$PATH"
2018-08-23 19:41:28 +00:00
alias sb="stack build"
alias gp="git add -p"
# source $HOME/.config/gf/config
alias ide='ghcid -c "stack ghci --test --ghci-options=-fno-break-on-exception --ghci-options=-fno-break-on-error --ghci-options=-v1 --ghci-options=-ferror-spans --ghci-options=-j"'
export PAGER="less -FX"
2019-02-16 19:06:45 +00:00
export MANWIDTH=80
export EDITOR='emacsclient -c -a ""'