From 1bc7dd7845675330c43a1387fce943b63078c5fe Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Wed, 11 Apr 2018 16:42:01 +0100 Subject: [PATCH] zsh: move zsh into .config --- .config/zsh/.gitignore | 4 ++++ .zshrc => .config/zsh/.zshrc | 2 ++ .profile | 4 ++++ 3 files changed, 10 insertions(+) create mode 100644 .config/zsh/.gitignore rename .zshrc => .config/zsh/.zshrc (97%) diff --git a/.config/zsh/.gitignore b/.config/zsh/.gitignore new file mode 100644 index 0000000..3faf4dd --- /dev/null +++ b/.config/zsh/.gitignore @@ -0,0 +1,4 @@ +/antigen/ +/log/ +/histfile +/.zcompdump* diff --git a/.zshrc b/.config/zsh/.zshrc similarity index 97% rename from .zshrc rename to .config/zsh/.zshrc index 5d7ca21..db1b269 100644 --- a/.zshrc +++ b/.config/zsh/.zshrc @@ -54,6 +54,7 @@ antigen bundle zsh-users/zsh-completions antigen bundle zsh-users/zsh-autosuggestions antigen bundle Tarrasch/zsh-syntax-highlighting antigen bundle zsh-users/zsh-history-substring-search +antigen bundle mafredri/zsh-async antigen apply @@ -122,3 +123,4 @@ source "$DOTFILES/aliases" # Load some manual plugins source "$ZSH_DIR/plugins/sudo.zsh" source "$ZSH_DIR/plugins/fish-theme.zsh" +[ -f '/usr/share/fzf/key-bindings.zsh' ] && source /usr/share/fzf/key-bindings.zsh diff --git a/.profile b/.profile index 1f930b0..3154887 100644 --- a/.profile +++ b/.profile @@ -20,6 +20,10 @@ export VIMINIT=":so $MYVIMRC" export EDITOR="vim" export VISUAL="vim" + +# Allow ZSH to load from ~/.config/zsh +export ZDOTDIR="$XDG_CONFIG_HOME/zsh" + export MANPAGER="less -+N" export TERMINAL="termite" export BROWSER="chromium"