Move the commands into a function, so that the function can be run in the background.
8 lines
115 B
Plaintext
8 lines
115 B
Plaintext
envrc() {
|
|
nvim -es <<<"helptags ALL"
|
|
git fetch --all
|
|
}
|
|
|
|
# Run in background
|
|
envrc 0<&- &>/dev/null 3>&- & disown
|