mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Update: remove the source part.
Sourcing bash_profile inside shell script does not work as expected. We should source it outside the script manually. See also: https://stackoverflow.com/questions/50156206/source-bash-profile-do-not-works-inside-a-bash-script
This commit is contained in:
parent
bffd6bac70
commit
0c0099c301
@ -156,11 +156,3 @@ git clone https://github.com/jdhao/nvim-config.git "$NVIM_CONFIG_DIR" \
|
||||
if [[ "$ADD_TO_SYSTEM_PATH" = true ]]; then
|
||||
echo "export PATH=\"$NVIM_DIR/bin:\$PATH\"" >> "$HOME/.bash_profile"
|
||||
fi
|
||||
|
||||
|
||||
#######################################################################
|
||||
# Post processing #
|
||||
#######################################################################
|
||||
# Let PATH changes take effect
|
||||
# shellcheck source=/dev/null
|
||||
source "$HOME/.bash_profile"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user