-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request for architecture-dependent install location #4212
Comments
Do you use vim-plug to install fzf? Or you manually install it on the shell? How does your |
Same here, I modify my
My primary issue is that when updating |
I would suggest that you use a package manager of your system to install fzf, so that fzf is in your If the main package manager of your distribution does not provide the latest version of fzf, you might want to try something like mise of asdf. |
@junegunn my Plug command looks like this:
|
I've tried inserting a variable that is set to the machine architecture into the 'dir': '~/.fzf' bit, but it just gets ignored. I haven't worked on it a lot, so I might be missing some obvious solution. |
Checklist
man fzf
)Output of
fzf --version
0.58.0 (65db735)
OS
Shell
Problem / Steps to reproduce
This isn't quite a bug, but an uncommon use-case I think. I work on systems with different architectures (aarch64 and x86_64) that mount a shared filesystem for their home directories. The current install process for fzf is architecture-independent from what I can find, so fzf works only on the system that it was installed on, while it breaks on the other system due to the incompatible binaries being used.
I use vim-plug to manage my vim plugins, and I'm new to vimscript, so I don't know how to tell vim-plug to install to an architecture-dependent location. My workaround has been to remove fzf from my vim plugins and just manually clone/install it to arch-dependent directories and alter the
.fzf.bash
script to use the output ofuname -m
to determine which directory to source.To Reproduce:
$HOME
directory~/.fzf
and cd to~/.fzf
./install -y
.bashrc
if it hasn't been done alreadybash: /users/$USER/.fzf/bin/fzf: cannot execute binary file: Exec format error
The text was updated successfully, but these errors were encountered: