Moved chezmoi data one level down under chezmoi.roots
This commit is contained in:
parent
c34f7ae631
commit
de47f0c388
240 changed files with 90 additions and 76 deletions
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/env -S bash -c 'echo "Not a user script. source(aka .) only"'
|
||||
|
||||
if [[ -x "${CUSTOM_NVIM_PATH:-$HOME/.local/bin/nvim}" ]]; then
|
||||
fix_nvim () {
|
||||
CUSTOM_NVIM_PATH="${CUSTOM_NVIM_PATH:-$HOME/.local/bin/nvim}"
|
||||
printf '%s\n' \
|
||||
"update-alternatives --install /usr/bin/editor editor '${CUSTOM_NVIM_PATH}' 110" \
|
||||
"update-alternatives --install /usr/bin/edit edit '${CUSTOM_NVIM_PATH}' 110" \
|
||||
"update-alternatives --install /usr/bin/ex ex '${CUSTOM_NVIM_PATH}' 110" \
|
||||
"update-alternatives --install /usr/bin/vi vi '${CUSTOM_NVIM_PATH}' 110" \
|
||||
"update-alternatives --install /usr/bin/view view '${CUSTOM_NVIM_PATH}' 110" \
|
||||
"update-alternatives --install /usr/bin/vim vim '${CUSTOM_NVIM_PATH}' 110" \
|
||||
"update-alternatives --install /usr/bin/vimdiff vimdiff '${CUSTOM_NVIM_PATH}' 110" \
|
||||
"update-alternatives --set editor '${CUSTOM_NVIM_PATH}'" \
|
||||
"update-alternatives --set edit '${CUSTOM_NVIM_PATH}'" \
|
||||
"update-alternatives --set ex '${CUSTOM_NVIM_PATH}'" \
|
||||
"update-alternatives --set vi '${CUSTOM_NVIM_PATH}'" \
|
||||
"update-alternatives --set view '${CUSTOM_NVIM_PATH}'" \
|
||||
"update-alternatives --set vim '${CUSTOM_NVIM_PATH}'" \
|
||||
"update-alternatives --set vimdiff '${CUSTOM_NVIM_PATH}'"
|
||||
}
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue