about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-12-03 16:29:07 +0000
committerDavid Morgan <djm_uk@protonmail.com>2022-12-03 16:29:07 +0000
commit0688f25420527013f625d5be9a11f3861e875e59 (patch)
tree710086e97838de5ba6b786d525015b4ba3734981
parent9bb1da80f356ada4a29b592c97a91d0a41892d88 (diff)
downloaddotfiles-0688f25420527013f625d5be9a11f3861e875e59.tar.gz
Use batpipe
-rw-r--r--nix-conf/home/includes/common.nix2
-rw-r--r--nix-conf/home/includes/zsh.nix1
2 files changed, 2 insertions, 1 deletions
diff --git a/nix-conf/home/includes/common.nix b/nix-conf/home/includes/common.nix
index e1f8fac..082e7a4 100644
--- a/nix-conf/home/includes/common.nix
+++ b/nix-conf/home/includes/common.nix
@@ -22,7 +22,7 @@ in
     bat-extras.batgrep
     bat-extras.batman
     bat-extras.batwatch
-    #bat-extras.batpipe # wait for 22.11
+    bat-extras.batpipe
     bottom
     broot
     curl
diff --git a/nix-conf/home/includes/zsh.nix b/nix-conf/home/includes/zsh.nix
index 23a592b..5b5f945 100644
--- a/nix-conf/home/includes/zsh.nix
+++ b/nix-conf/home/includes/zsh.nix
@@ -109,6 +109,7 @@
       export FZF_CTRL_R_OPTS="--preview 'echo {}' --preview-window down:3:hidden:wrap --bind 'ctrl-t:toggle-preview'"
       export FZF_DEFAULT_OPTS="--bind=ctrl-t:toggle-all --bind=ctrl-j:jump"
 
+      eval "$(batpipe)"
       autopair-init
       enable-fzf-tab
       bindkey '^[[A' history-substring-search-up