diff dot_config/private_fish/config.fish @ 1043:3395b4109688

feat: update fzf and setup in fish
author Zeger Van de Vannet <zeger@vandevan.net>
date Thu, 02 May 2024 08:41:10 +0200
parents 979735a38885
children fb4670b7526a
line wrap: on
line diff
--- a/dot_config/private_fish/config.fish	Thu May 02 07:53:01 2024 +0200
+++ b/dot_config/private_fish/config.fish	Thu May 02 08:41:10 2024 +0200
@@ -10,9 +10,15 @@
 
 if test -e "$HOME/bin/mise"
     $HOME/bin/mise activate fish | source
+
+    # RTX is only fully loaded on fish prompt
+    # use exec to find the global version and
+    mise exec direnv -- direnv hook fish | source
+else
+    direnv hook fish | source
 end
 
-direnv hook fish | source
+$HOME/.fzf/bin/fzf --fish | source
 
 if status is-interactive
     # Commands to run in interactive sessions can go here