fixing nvim and fd

This commit is contained in:
Martin Bauer 2022-06-07 10:07:45 +02:00
parent 048ee6badd
commit de2f886423
1 changed files with 3 additions and 6 deletions

View File

@ -88,11 +88,8 @@ cp autocomplete/bat.fish $XDG_CONFIG_HOME/fish/completions/bat.fish
printf "${Blue}--> neovim${Color_Off}\n"
cd ${INSTALL_TMP_DIR}
printf "${White} Downloading...${Color_Off}\n"
curl -sL https://github.com/neovim/neovim/releases/download/v0.7.0/nvim.appimage > nvim.appimage
chmod u+x nvim.appimage
printf "${White} Extracting AppImage...${Color_Off}\n"
./nvim.appimage --appimage-extract &> /dev/null
cd squashfs-root/usr
curl -sL https://github.com/neovim/neovim/releases/download/v0.7.0/nvim-linux64.tar.gz | tar xz
cd nvim-linux64*
cp ./bin/* ${MB_ENV_BASE}/bin/
mkdir ${MB_ENV_BASE}/lib
cp -r ./lib/* ${MB_ENV_BASE}/lib/
@ -149,7 +146,7 @@ chmod u+x fzf-tmux
printf "${Blue}--> fd${Color_Off}\n"
cd ${INSTALL_TMP_DIR}
curl -sL https://github.com/sharkdp/fd/releases/download/v8.4.0/fd-v8.4.0-i686-unknown-linux-gnu.tar.gz | tar xz
curl -sL https://github.com/sharkdp/fd/releases/download/v8.4.0/fd-v8.4.0-x86_64-unknown-linux-musl.tar.gz | tar xz
cd fd-*
cp autocomplete/fd.fish $XDG_CONFIG_HOME/fish/completions/fd.fish
cp fd* ${MB_ENV_BASE}/bin