lituus up to date

This commit is contained in:
Anish Lakhwara
2022-10-03 23:59:21 +10:00
parent 1dcff2a4a5
commit 9ac75ad03c
11 changed files with 73 additions and 13 deletions
+14 -1
View File
@@ -57,6 +57,18 @@
#ssb-patchwork
fontconfig
pandoc
(pkgs.writeScriptBin "jq-repl" ''
#!/usr/bin/env bash
if [[ -z $1 ]] || [[ $1 == "-" ]] then
input=$(mktemp)
trap "rm -f $input" EXIT
cat /dev/stdin > $input
else
input=$1
fi
echo "" \ | fzf --phony --preview-window="up:90%" --print-query --preview "jq --color-output -r {q} $input"
'')
];
programs.zsh = {
@@ -183,11 +195,12 @@
# task warrior
# TODO: make blocked a context?
t = "task -BLOCKED";
tin = "task +in";
tun = "task -BLOCKED -wait";
tr = "task newest limit:page";
tu = "task unblocked -wait";
tl = "task list";
ta = "task add";
ta = "task add +in";
tn = "task-note";
tm = "task limit:page";
te = "task edit";