From ac7282e7654c93737ed651ca8e3e836f87990436 Mon Sep 17 00:00:00 2001 From: Luka Jankovic Date: Fri, 27 Dec 2024 01:44:04 +0100 Subject: [PATCH] basic zsh setup --- .zsh_plugins.txt | 11 +++++++++++ .zshrc | 17 +++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .zsh_plugins.txt create mode 100644 .zshrc diff --git a/.zsh_plugins.txt b/.zsh_plugins.txt new file mode 100644 index 0000000..d7e4487 --- /dev/null +++ b/.zsh_plugins.txt @@ -0,0 +1,11 @@ +# Completion +mattmc3/ez-compinit +zsh-users/zsh-completions kind:fpath path:src + +# Other fish stuff +zsh-users/zsh-autosuggestions +zdharma-continuum/fast-syntax-highlighting kind:defer +zsh-users/zsh-history-substring-search + +# History +joshskidmore/zsh-fzf-history-search diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..db71bf8 --- /dev/null +++ b/.zshrc @@ -0,0 +1,17 @@ +# Created by newuser for 5.9 + +# Binds +bindkey '^H' backward-kill-word +bindkey '5~' kill-word +bindkey "^[[1;5C" forward-word +bindkey "^[[1;5D" backward-word + +# History +HISTFILE=~/.zsh_history +HISTSIZE=999999999 +SAVEHIST=$HISTSIZE + +source ${ZDOTDIR:-~}/.antidote/antidote.zsh +antidote load + +eval "$(starship init zsh)"