Closed monajalal closed 8 months ago
Thanks for opening your first issue here! In case you're facing a bug, please update navi to the latest version first. Maybe the bug is already solved! :)
See https://github.com/denisidoro/navi/issues/447.
You can do them in turn:
cd ~
sudo apt remove fzf
git clone https://github.com/junegunn/fzf .fzf
bash .fzf/install
fzf --version
Then, navi
Reopening:
$ bash <(curl -sL https://raw.githubusercontent.com/denisidoro/navi/master/scripts/install)
Downloading https://github.com/denisidoro/navi/releases/download/v2.22.1
2.20.1/navi-v2.22.1
2.20.1-x86_64-unknown-linux-musl.tar.gz...
curl: (3) URL using bad/illegal format or missing URL
tar (child): navi.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
mv: cannot stat './navi': No such file or directory
✖ Unable to install navi. Please check https://github.com/denisidoro/navi for alternative installation instructions
did not work
(clean-pvnet) mona@ada:~$ git clone https://github.com/junegunn/fzf .fzf
Cloning into '.fzf'...
remote: Enumerating objects: 13003, done.
remote: Counting objects: 100% (2172/2172), done.
remote: Compressing objects: 100% (394/394), done.
remote: Total 13003 (delta 1928), reused 1889 (delta 1766), pack-reused 10831
Receiving objects: 100% (13003/13003), 5.14 MiB | 13.92 MiB/s, done.
Resolving deltas: 100% (8332/8332), done.
(clean-pvnet) mona@ada:~$ bash .fzf/install
Downloading bin/fzf ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 1415k 100 1415k 0 0 253k 0 0:00:05 0:00:05 --:--:-- 313k
- Checking fzf executable ... 0.44.1
Do you want to enable fuzzy auto-completion? ([y]/n) y
Do you want to enable key bindings? ([y]/n) y
Generate /home/mona/.fzf.bash ... OK
Do you want to update your shell configuration files? ([y]/n) y
Update /home/mona/.bashrc:
- [ -f ~/.fzf.bash ] && source ~/.fzf.bash
+ Added
Finished. Restart your shell or reload config file.
source ~/.bashrc # bash
Use uninstall script to remove fzf.
For more information, see: https://github.com/junegunn/fzf
(clean-pvnet) mona@ada:~$ source ~/.bashrc
(base) mona@ada:~$ fzf --version
0.44.1 (d7d2ac3)
(base) mona@ada:~$ navi
Command 'navi' not found, did you mean:
command 'savi' from deb savi (1.5.1-4)
command 'nvi' from deb nvi (1.81.6-17)
command 'navit' from deb navit (0.5.6+dfsg.1-1)
command 'nabi' from deb nabi (1.0.0-4build1)
Try: sudo apt install <deb name>
@scillidan
@monajalal I install it on wsl2
. Have you forgotten to set fzf in .zshrc or .bashrc?
then after installing fzf:
sudo apt install fzf
I get this error: