imhex, bata, mprocs
This commit is contained in:
parent
be839d4cc4
commit
a46044e805
users/pbsds/home/profiles
@ -1,4 +1,12 @@
|
||||
{ pkgs, ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
|
||||
_tmp_func_name = "_tmp_func_Oaw5aifeeniezeiquonaipheNahthae9caik4Rai"; # pwgen ftw
|
||||
mkArgsAlias = alias: ''${_tmp_func_name}() { ${alias}; unset -f ${_tmp_func_name}; }; ${_tmp_func_name}'';
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
bat
|
||||
@ -7,6 +15,8 @@
|
||||
|
||||
# bat - TODO: condition these on programs.bat.enable ?
|
||||
home.shellAliases.cat = "bat --style=plain --paging=never";
|
||||
home.shellAliases.cata = mkArgsAlias ''printf "bat --paging never --style plain %q\n" "$@" | xargs -d'\n' ${lib.getExe pkgs.mprocs}'';
|
||||
home.shellAliases.bata = mkArgsAlias ''printf "bat --paging never --style plain %q\n" "$@" | xargs -d'\n' ${lib.getExe pkgs.mprocs}'';
|
||||
#home.shellAliases.man = "batman";
|
||||
#home.shellAliases.man = "PAGER=${pkgs.most}/bin/most man";
|
||||
|
||||
@ -31,5 +41,5 @@
|
||||
#extraPackages = with pkgs.bat-extras; [ batdiff batman batgrep batwatch ];
|
||||
};
|
||||
|
||||
# TODO: generate bat syntax cache: 'bat cache --build'
|
||||
# TODO: generate bat syntax cache: 'bat cache --build'
|
||||
}
|
||||
|
@ -45,6 +45,7 @@
|
||||
icon-library
|
||||
|
||||
gitg
|
||||
imhex
|
||||
|
||||
remote-exec
|
||||
|
||||
|
@ -184,6 +184,7 @@ in
|
||||
#(pkgs.jnv or unstable.jnv or null)
|
||||
xh
|
||||
htmlq
|
||||
mprocs
|
||||
just # justfile
|
||||
gum
|
||||
sysz systemctl-tui
|
||||
|
Loading…
x
Reference in New Issue
Block a user