From 6c4932fcb70fb7647f71d4dffe23cc0a1238f916 Mon Sep 17 00:00:00 2001 From: Skladnayazebra Date: Thu, 16 Oct 2025 15:25:29 +0200 Subject: cleanup utils; remove git tag from prompt; add git tag alias; move all zsh config to .config/zsh --- zsh/index.zsh | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 zsh/index.zsh (limited to 'zsh/index.zsh') diff --git a/zsh/index.zsh b/zsh/index.zsh new file mode 100644 index 0000000..bf47ad4 --- /dev/null +++ b/zsh/index.zsh @@ -0,0 +1,28 @@ +# Lines configured by zsh-newuser-install +HISTFILE=~/.histfile +HISTSIZE=1000 +SAVEHIST=1000 +bindkey -e +bindkey -r "^F" +# End of lines configured by zsh-newuser-install +# +# The following lines were added by compinstall +zstyle :compinstall filename '/home/aleksei/.zshrc' +autoload -Uz compinit +compinit +zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' +zstyle ':completion:*' menu select + +source ~/.config/zsh/prompt.zsh +source ~/.config/zsh/keybinds.zsh +source ~/.config/zsh/utils.zsh + +source /usr/share/nvm/init-nvm.sh +source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh + +alias n='nvim' +alias tg='git describe --tags HEAD' + +eval $(ssh-agent -s) >> /dev/null +# Set up fzf key bindings and fuzzy completion +source <(fzf --zsh) -- cgit v1.3.1