preview subshell doesn't load any functions #246
-
|
Hi, I'm sure there's something happening that's unique to my setup but I thought I'd ask just to be sure. I'm on MacOS 12.4 using fish, version 3.5.0. I've run When I use the shortcut to browse files, I get the file list as expected with the preview window on the right. However, in the preview window it says fish: Unknown command: _fzf_preview_file
fish:
_fzf_preview_file 'whatever filename the cursor is on'
^This also occurs with any of the functions that would be used to display a file in a preview window such as fish: Unknown command: _fzf_extract_var_info
fish:
_fzf_extract_var_info 'VARIABLE_NAME' /var/folders/etc/etc/etc
^I've confirmed that in my top level shell the Most of my configuration files are actually symlinked into Any ideas you have would be appreciated, thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
|
Does (command --search fish) result in the correct fish installation? https://github.com/PatrickF1/fzf.fish/blob/main/functions/_fzf_wrapper.fish#L5 |
Beta Was this translation helpful? Give feedback.
-
|
It does indeed: I installed using homebrew so this too is a symlink: |
Beta Was this translation helpful? Give feedback.
-
|
Sorry this is out of my expertise. Maybe try asking in fish-shell issues why a newly spawned fish session can't autoload those files? |
Beta Was this translation helpful? Give feedback.
-
|
No problem, thanks for taking a look at it! |
Beta Was this translation helpful? Give feedback.
-
|
I think I worked this out. I had file in one of my Thanks for your help 👍🏻 |
Beta Was this translation helpful? Give feedback.
I think I worked this out. I had file in one of my
~/.config/directories which also had a corresponding file in my dotfiles repo. So mystow -R configcommand that I run after adding a new file to the dotfiles kept failing and wasn't picking up the changes I was making to the loading order of the files in~/.config/fish/functions. That was causing the load failure.Thanks for your help 👍🏻