bugfix: link the starship.toml into the right place

pull/8/head
Adam Veldhousen 2021-10-28 20:54:08 -05:00
parent 75cd390d12
commit 63999efd2d
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B
1 changed files with 2 additions and 2 deletions

View File

@ -9,11 +9,11 @@ if ! [[ -f "$(which starship 2>&1)" ]] && [[ -d "${HOME}/.asdf" ]]; then
fi
if [[ -f "$(which starship 2>&1)" ]]; then
export STARSHIP_CONFIG_DIR="${FILES_USER_CONFIG}/starship";
export STARSHIP_CONFIG_DIR="${FILES_USER_CONFIG}";
export STARSHIP_CACHE="${STARSHIP_CONFIG_DIR}/cache";
files_debug_log "[starship] installing default config";
files_linkdir "${FILES_PLUGIN_ROOT}/defaults.d/" "${STARSHIP_CONFIG_DIR}/";
[[ -f "${FILES_USER_CONFIG}/starship.toml" ]] || ln -sf "${FILES_PLUGIN_ROOT}/defaults.d/starship.toml" ${FILES_USER_CONFIG};
starship_run() {
local shell=${1:-bash};