meta:envrc: Generate vim helptags when entering

Move the commands into a function, so that the function can be run in
the background.
This commit is contained in:
2023-01-27 00:03:46 +01:00
parent e1b46bddc3
commit 2afafef362

View File

@@ -1 +1,7 @@
git fetch --all 0<&- &>/dev/null 3>&- & disown
envrc() {
nvim -es <<<"helptags ALL"
git fetch --all
}
# Run in background
envrc 0<&- &>/dev/null 3>&- & disown