feat: add some more colors to my shell.

This commit is contained in:
CronyAkatsuki 2026-02-16 13:40:30 +01:00
parent 89a60e6bc0
commit 0cc422c6e2
2 changed files with 11 additions and 2 deletions

View file

@ -175,7 +175,12 @@
};
# Install bat
programs.bat.enable = true;
programs.bat = {
enable = true;
extraPackages = with pkgs.bat-extras; [
batman
];
};
# Install jq
programs.jq.enable = true;

View file

@ -52,12 +52,16 @@
mkd = "mkdir -pv";
less = "less -R";
df = "df -h -x devtmpfs -x tmpfs -x usbfs -x loop";
free = "free -mht";
# nnn on crack
nnn = ''LC_COLLATE="C" nnn -xeaiH'';
# fzf shenanigans
vif = ''nvim $(fzf --preview="bat --color=always {}")'';
emacs = "emacs --init-dir ~/.config/emacs";
# bat colors to commands
man = "batman";
lsblk = "lsblk | bat -l conf -p";
free = "free -mht | bat -l cpuinfo -p";
sensors = "sensors | bat -l cpuinfo -p";
};
antidote = {