add bat options

This commit is contained in:
Sean Buckley 2023-06-05 11:04:08 -04:00
parent b353909171
commit 9899935183

View file

@ -8,7 +8,6 @@
sconfig.powerline.enable = lib.mkDefault true; sconfig.powerline.enable = lib.mkDefault true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
bat
dnsutils dnsutils
du-dust du-dust
entr entr
@ -46,6 +45,10 @@
(writeShellScriptBin "nr" "exec nix repl \"$(nix eval nixpkgs#path)\"") (writeShellScriptBin "nr" "exec nix repl \"$(nix eval nixpkgs#path)\"")
(writeShellScriptBin "bat" ''
${bat}/bin/bat --color=always --wrap=never --pager=never --terminal-width=80 "$@"
'')
(writeShellScriptBin "pip-install" '' (writeShellScriptBin "pip-install" ''
nix run 'nixpkgs#python3.pkgs.pip' -- install --user --upgrade --break-system-packages pip nix run 'nixpkgs#python3.pkgs.pip' -- install --user --upgrade --break-system-packages pip
'') '')