about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-12-28 13:14:21 +0100
committerSoispha <soispha@vhack.eu>2023-12-28 13:14:21 +0100
commit7242fd650d26e36632de1ebaf7eedc97600bdb0b (patch)
treec33b50ac1d739f05e56e18aa7d6c00d89b1d1ddc
parentfix(sys/svcs/xdg): Use correct types in termchooser config (diff)
downloadnixos-config-7242fd650d26e36632de1ebaf7eedc97600bdb0b.tar.gz
nixos-config-7242fd650d26e36632de1ebaf7eedc97600bdb0b.zip
fix(hm/pkgs/src/neorg): Remove duplicated `[[]]` in doc function
-rw-r--r--hm/soispha/pkgs/scripts.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/hm/soispha/pkgs/scripts.nix b/hm/soispha/pkgs/scripts.nix
index d440e24a..e9b520df 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>