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
8fb99675fb
commit
0ab05578b3
@ -8,7 +8,7 @@
|
|||||||
{ # bat
|
{ # bat
|
||||||
home-manager.users.makefu.home.packages = [ pkgs.bat ];
|
home-manager.users.makefu.home.packages = [ pkgs.bat ];
|
||||||
home-manager.users.makefu.programs.zsh.shellAliases = {
|
home-manager.users.makefu.programs.zsh.shellAliases = {
|
||||||
cat = "bat";
|
cat = "bat --style=header,snip";
|
||||||
catn = "${pkgs.coreutils}/bin/cat";
|
catn = "${pkgs.coreutils}/bin/cat";
|
||||||
ncat = "${pkgs.coreutils}/bin/cat";
|
ncat = "${pkgs.coreutils}/bin/cat";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user