From fbca5a12b3c35802653530c58593e258c3b2a3c6 Mon Sep 17 00:00:00 2001 From: eneller Date: Sat, 18 May 2024 10:55:37 +0200 Subject: [PATCH] feat: zsh zoxide, bat --- .zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.zshrc b/.zshrc index 26843c4..47108d6 100644 --- a/.zshrc +++ b/.zshrc @@ -8,6 +8,10 @@ fi source ~/.config/shell/alias.sh export EDITOR=nvim export VISUAL=$EDITOR +# set BAT as man pager +export MANPAGER="sh -c 'col -bx | bat -l man -p'" +export MANROFFOPT="-c" + export PATH="$HOME/.cargo/bin:$PATH" export PATH="$HOME/.bin:$PATH" export PATH="$HOME/.local/bin:$PATH" @@ -18,6 +22,7 @@ setopt nobeep autoload -Uz compinit # load completion compinit _comp_options+=(globdots) # Include hidden files. +eval "$(zoxide init zsh)" setopt autocd # allow cd by only entering directory without cd command setopt extendedglob # Extended globbing. Allows using regular expressions with * setopt correct # Auto correct mistakes