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:
parent
6f0ccd445e
commit
bc271fcdd1
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue