pull/123/head v2.5.25-rc1
Simon Let 6 years ago
parent 987223bafb
commit 22c338a646
  1. 20
      scripts/install.sh

@ -128,16 +128,16 @@ update_config() {
fi fi
} }
cp conf/config.toml ~/.config/resh.toml >/dev/null 2>/dev/null
# Do not overwrite config if it exists
# # Do not overwrite if exists if [ ! -f ~/.config/resh.toml ]; then
# if [ ! -f ~/.config/resh.toml ]; then echo "Copying config file ..."
# cp conf/config.toml ~/.config/resh.toml cp -f conf/config.toml ~/.config/resh.toml
# # else # else
# # echo "Merging config files ..." # echo "Merging config files ..."
# # NOTE: This is where we will merge configs when we make changes to the upstream config # NOTE: This is where we will merge configs when we make changes to the upstream config
# # HINT: check which version are we updating FROM and make changes to config based on that # HINT: check which version are we updating FROM and make changes to config based on that
# fi fi
echo "Generating completions ..." echo "Generating completions ..."
bin/resh-control completion bash > ~/.resh/bash_completion.d/_reshctl bin/resh-control completion bash > ~/.resh/bash_completion.d/_reshctl

Loading…
Cancel
Save