summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-04-21 21:40:46 +0200
committermakefu <github@syntax-fehler.de>2020-04-21 21:40:46 +0200
commit0ab05578b3ff853920b83204fe36146af2f303be (patch)
treed4938089cce4a8183bc9033999e2c97aca0ee286
parent8fb99675fb4e813accee6c3258160f6cb7059cb8 (diff)
ma zsh: use bat as cat but without indentation
it makes copy-pasting with the mouse easier if only header and snip is enabled
-rw-r--r--makefu/2configs/home-manager/zsh.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefu/2configs/home-manager/zsh.nix b/makefu/2configs/home-manager/zsh.nix
index 4cd9becc7..0dc7f256b 100644
--- a/makefu/2configs/home-manager/zsh.nix
+++ b/makefu/2configs/home-manager/zsh.nix
@@ -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";
};