ma zsh: use bat as cat but without indentation

it makes copy-pasting with the mouse easier if only header and snip is enabled
This commit is contained in:
makefu 2020-04-21 21:40:46 +02:00
parent 8fb99675fb
commit 0ab05578b3
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -8,7 +8,7 @@
{ # bat
home-manager.users.makefu.home.packages = [ pkgs.bat ];
home-manager.users.makefu.programs.zsh.shellAliases = {
cat = "bat";
cat = "bat --style=header,snip";
catn = "${pkgs.coreutils}/bin/cat";
ncat = "${pkgs.coreutils}/bin/cat";
};