Refactor the whole configuration #1

Merged
caem merged 354 commits from refactor into master 2025-02-01 14:05:16 +01:00
Showing only changes of commit 68edc5ba5c - Show all commits

View file

@ -9,6 +9,7 @@
fzf fzf
tmux tmux
fastfetch fastfetch
tre
]; ];
programs.bat = { programs.bat = {
@ -36,11 +37,13 @@
cat = "bat --paging=never"; cat = "bat --paging=never";
ls = "lsd"; ls = "lsd";
ll = "lsd -lah"; ll = "lsd -lah";
tree = "tre";
}; };
initExtra = '' initExtra = ''
alias -g -- -h='-h 2>&1 | bat --language=help --style=plain' alias -g -- -h='-h 2>&1 | bat --language=help --style=plain'
alias -g -- --help='--help 2>&1 | bat --language=help --style=plain' alias -g -- --help='--help 2>&1 | bat --language=help --style=plain'
export MANPAGER="sh -c 'sed -u -e \"s/\\x1B\[[0-9;]*m//g; s/.\\x08//g\" | bat -p -lman'"
''; '';
plugins = [ plugins = [