summaryrefslogtreecommitdiffstats
path: root/2configs
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
commitbc271fcdd1e77dac442b936f08905c5a6bf44b31 (patch)
treefbafceff875be710c3e4ebd4e56cf00f04e2f482 /2configs
parent6f0ccd445eb89e5e16ed31601d6cf60d968f9166 (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
Diffstat (limited to '2configs')
-rw-r--r--2configs/home-manager/zsh.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/2configs/home-manager/zsh.nix b/2configs/home-manager/zsh.nix
index 4cd9becc7..0dc7f256b 100644
--- a/2configs/home-manager/zsh.nix
+++ b/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";
};
[cgit] Unable to lock slot /tmp/cgit/be000000.lock: No such file or directory (2)