blob: 92e91187d4680bfadd403ed03c6bfd07692b10d6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#! /usr/bin/env dash
# shellcheck disable=SC2086
# shellcheck source=/dev/null
. %SHELL_LIBRARY_PATH
export LIB_TEMP_DIR_FOR_SCRIPT="$(mktemp -d)"
# clone packer.nvim to the needed dir, for the nvim install to work
git clone --depth 1 https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim
nvim -c 'PackerSync' -c 'qall' -u '/mnt/soispha/.config/nvim/init.lua' --headless
if [ -d "$LIB_TEMP_DIR_FOR_SCRIPT" ];then rm -r "$LIB_TEMP_DIR_FOR_SCRIPT"; fi
|