From b30a2cc92a33b2ae2e3a1568d0787947bb792d78 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sat, 14 Dec 2024 23:14:29 +0200 Subject: Replaced nvimpager with less, and now delta works with colors --- .gitconfig | 4 ++-- .zshrc | 7 ++++--- hosts/laptop-nixos/home.nix | 1 - 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitconfig b/.gitconfig index e69c2cb..4280554 100644 --- a/.gitconfig +++ b/.gitconfig @@ -21,5 +21,5 @@ gpgSign = true [gpg] format = ssh -[color] - pager = no +[log] + date = iso diff --git a/.zshrc b/.zshrc index e7fda36..d79268c 100644 --- a/.zshrc +++ b/.zshrc @@ -63,15 +63,16 @@ alias vim='nvim' alias gs='git status' alias gp='git push' alias gP='git pull' -alias gl='git log --oneline --decorate' +alias gl='git log' +alias glo='git log --oneline' alias gc='git commit' alias ga='git add' # Env vars export FLAKE=~/dotfiles/ export EDITOR=nvim -export PAGER=nvimpager -export MANPAGER='nvim +Man!' +export PAGER=less +export MANPAGER=$PAGER export FZF_DEFAULT_OPTS=" \ --color=bg+:#313244,bg:#1e1e2e,spinner:#f5e0dc,hl:#f38ba8 \ --color=fg:#cdd6f4,header:#f38ba8,info:#cba6f7,pointer:#f5e0dc \ diff --git a/hosts/laptop-nixos/home.nix b/hosts/laptop-nixos/home.nix index 302c52a..682b851 100644 --- a/hosts/laptop-nixos/home.nix +++ b/hosts/laptop-nixos/home.nix @@ -41,7 +41,6 @@ btop protonvpn-gui unzip - nvimpager go pnpm nodejs_23 -- cgit v1.3.1