From a3f968880308123b35ba4fdb76a5dd047aa22d41 Mon Sep 17 00:00:00 2001 From: powermaker450 Date: Tue, 26 Nov 2024 12:34:24 -0500 Subject: [PATCH] lsd, use neovim as manpager --- alias.zsh | 1 + preferences.zsh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/alias.zsh b/alias.zsh index 92f52fd..f4a3d2a 100644 --- a/alias.zsh +++ b/alias.zsh @@ -6,6 +6,7 @@ ## Basic Utils alias ls="ls -A --color=tty" alias du="du -sh" +lsd --version 2>&1 >/dev/null && alias ls="lsd -A --color always" || alias ls="ls -A --color=tty" # # ## Kitty diff --git a/preferences.zsh b/preferences.zsh index 88c9ee1..a7f5569 100644 --- a/preferences.zsh +++ b/preferences.zsh @@ -2,4 +2,4 @@ fignore=(.class) # Set env vars according to the installed programs -nvim -v 2>&1 >/dev/null && export EDITOR=nvim +nvim -v 2>&1 >/dev/null && export EDITOR=nvim && export MANPAGER="nvim +Man!"