diff options
author | Soispha <soispha@vhack.eu> | 2023-12-12 16:41:13 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-12-12 16:41:13 +0100 |
commit | b0c158a50fd3298b312d8b585e9873da0466eb42 (patch) | |
tree | d908b35c6260e2c99266f7dadb66bf0cda1c62d8 | |
parent | chore(hm/pkgs/scrs): Delete unused and deprecated scripts (diff) | |
download | nixos-config-b0c158a50fd3298b312d8b585e9873da0466eb42.tar.gz nixos-config-b0c158a50fd3298b312d8b585e9873da0466eb42.zip |
fix(hm/pkgs/scr/neorg): Use new way to specify completion function
-rw-r--r-- | hm/soispha/pkgs/scripts.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hm/soispha/pkgs/scripts.nix b/hm/soispha/pkgs/scripts.nix index 8df0c601..e295a587 100644 --- a/hm/soispha/pkgs/scripts.nix +++ b/hm/soispha/pkgs/scripts.nix @@ -95,7 +95,7 @@ bash */ '' - `(wc="$(task project:"$(task _get rc.context)" _ids)"; if [ "$wc" ]; then echo "$wc"; else echo "0"; fi ) | xargs task _zshids | awk -F: -v s="'" '{print $1 ":" s $2 s}'` + [[ (wc="$(task project:"$(task _get rc.context)" _ids)"; if [ "$wc" ]; then echo "$wc"; else echo "0"; fi ) | xargs task _zshids | awk -F: -v s="'" '{print $1 ":" s $2 s}' ]] ''; # TODO: Replace the hard-coded path here with some reference <2023-10-20> |