From beaac7ed09678d5e1021acd0c4331870fe55eb8c Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Mon, 16 May 2022 00:21:03 -0400 Subject: [PATCH] replace vimpager with bat --- modules/cli/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/cli/default.nix b/modules/cli/default.nix index 6dbf990..3a4a8bb 100644 --- a/modules/cli/default.nix +++ b/modules/cli/default.nix @@ -5,6 +5,7 @@ sconfig.powerline.enable = lib.mkDefault true; environment.systemPackages = with pkgs; [ + bat darkhttpd dnsutils dstat @@ -97,7 +98,7 @@ stty -ixon alias p=python3 alias hd='hexdump -C' - alias catc='${pkgs.vimpager-latest}/bin/vimpager --force-passthrough' + alias bat='bat --color=always --wrap=never --pager=never --terminal-width=80' alias nix-env="echo nix-env is disabled #" alias nix-what-depends-on='nix-store --query --referrers' alias day='date "+%Y-%m-%d"'