aboutsummaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorHumphrey Lin <[email protected]>2020-12-01 18:10:09 +0000
committerHumphrey Lin <[email protected]>2020-12-01 18:10:09 +0000
commit514eab77de4da4b9ffb4c411d81729d04e55588f (patch)
treee601f5f0d4737c7b2b8c98fde6c5020babee2238 /.zshrc
parent3e322ad69f8a2e6dad7f41df0d426258a15fa999 (diff)
downloaddotfiles-514eab77de4da4b9ffb4c411d81729d04e55588f.tar.gz
dotfiles-514eab77de4da4b9ffb4c411d81729d04e55588f.tar.bz2
dotfiles-514eab77de4da4b9ffb4c411d81729d04e55588f.zip
Add config of i3wm and modify the EDITOR in .zshrc
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index c3b1f01..b9b1bbf 100644
--- a/.zshrc
+++ b/.zshrc
@@ -3,6 +3,8 @@ setopt histignorealldups sharehistory
# Use emacs keybindings even if our EDITOR is set to vi
bindkey -e
+EDITOR=vim
+
# Keep 1000 lines of history within the shell and save it to ~/.zsh_history:
HISTSIZE=1000
SAVEHIST=1000
@@ -10,6 +12,7 @@ HISTFILE=~/.zsh_history
# file
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
+[[ -s /etc/profile.d/autojump.sh ]] && source /etc/profile.d/autojump.sh
[ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh
# proxy
@@ -48,6 +51,7 @@ source ~/.zplug/init.zsh
zplug "plugins/git", from:oh-my-zsh
zplug "zsh-users/zsh-completions"
zplug "zsh-users/zsh-syntax-highlighting"
+zplug "zsh-users/zsh-autosuggestions"
zplug "dracula/zsh", as:theme
if ! zplug check --verbose; then
printf "Install? [y/N]: "