feat: add some more colors to my shell.
This commit is contained in:
parent
89a60e6bc0
commit
0cc422c6e2
2 changed files with 11 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue