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 | 0ab05578b3ff853920b83204fe36146af2f303be (patch) | |
tree | d4938089cce4a8183bc9033999e2c97aca0ee286 /makefu/2configs/home-manager | |
parent | 8fb99675fb4e813accee6c3258160f6cb7059cb8 (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 'makefu/2configs/home-manager')
-rw-r--r-- | makefu/2configs/home-manager/zsh.nix | 2 |
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"; }; |