From 2d38505ac2c0eb7ce17705fc27a2650c2ae47a7f Mon Sep 17 00:00:00 2001 From: traxys Date: Mon, 26 Aug 2024 14:17:10 +0200 Subject: [PATCH] minimal: Fix fish integration --- minimal/hm.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/minimal/hm.nix b/minimal/hm.nix index 3205c08..31346ac 100644 --- a/minimal/hm.nix +++ b/minimal/hm.nix @@ -285,8 +285,6 @@ enable = true; shellInit = '' - fish_add_path /nix/var/nix/profiles/default/bin - if [ -f "$HOME/.zvars" ] source "$HOME/.zvars" end @@ -294,7 +292,7 @@ function up-or-search-prefix -d "Search (by prefix) back or move cursor up 1 line" # If we are already in search mode, continue if commandline --search-mode - commandline -f history-search-backward + commandline -f history-prefix-search-backward return end @@ -321,7 +319,7 @@ function down-or-search-prefix -d "search (by prefix) forward or move down 1 line" # If we are already in search mode, continue if commandline --search-mode - commandline -f history-search-forward + commandline -f history-prefix-search-forward return end