summaryrefslogtreecommitdiff
path: root/zsh/zshrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-04-19 15:24:25 +0100
committerUrbain Vaes <urbain@vaes.uk>2016-04-19 15:24:25 +0100
commite146e947c52ac4adbe426b3f893faff1e46ed5f8 (patch)
tree1605bf4eb78cc619988c92632f3cee2a56143fd5 /zsh/zshrc
parent83bd503208d45fa837348441196dd07223b13e3e (diff)
Use GNU stow for dotfiles management
Diffstat (limited to 'zsh/zshrc')
-rw-r--r--zsh/zshrc52
1 files changed, 0 insertions, 52 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
deleted file mode 100644
index fe44e9e..0000000
--- a/zsh/zshrc
+++ /dev/null
@@ -1,52 +0,0 @@
-# Write tmp file if it doesn't exist
-[[ ! -f ~/.zsh/tmp ]] && echo "export COLORSCHEME=dark" > ~/.zsh/tmp
-
-# Source configuration files
-source "$HOME/.zsh/plugins"
-source "$HOME/.zsh/functions"
-source "$HOME/.zsh/alias"
-source "$HOME/.zsh/tmp"
-
-# Custom key bindings for built-in widgets
-bindkey -a 'k' history-beginning-search-backward
-bindkey -a 'j' history-beginning-search-forward
-bindkey '^P' history-beginning-search-backward
-bindkey '^N' history-beginning-search-forward
-
-# Paths of executables
-export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/bin/core_perl:$HOME/bin"
-
-# Editor
-export EDITOR=/usr/bin/nvim
-
-# Fix tmux colors
-if [[ -n ${TMUX} && -n ${commands[tmux]} ]];then
- case $(tmux showenv TERM 2>/dev/null) in
- *256color) ;&
- TERM=fbterm)
- TERM=screen-256color ;;
- *)
- TERM=screen
- esac
-fi
-
-# Export GPG-agent related
-if [[ -f "${HOME}/.gpg-agent-info" ]]; then
- source ${HOME}/.gpg-agent-info
- export GPG_AGENT_INFO
- export SSH_AUTH_SOCK
-fi
-
-
-# Tmux colors fix
-if [[ -n ${TMUX} && -n ${commands[tmux]} ]];then
- case $(tmux showenv TERM 2>/dev/null) in
- *256color) ;&
- TERM=fbterm)
- TERM=screen-256color ;;
- *)
- TERM=screen
- esac
-fi
-
-[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh