diff options
author | makefu <github@syntax-fehler.de> | 2020-04-21 21:40:46 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-04-21 21:40:46 +0200 |
commit | bc271fcdd1e77dac442b936f08905c5a6bf44b31 (patch) | |
tree | fbafceff875be710c3e4ebd4e56cf00f04e2f482 /2configs | |
parent | 6f0ccd445eb89e5e16ed31601d6cf60d968f9166 (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.nix | 2 |
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"; }; |