From 1823e19037cb851b18ce80fe9259f84c2ca47d41 Mon Sep 17 00:00:00 2001 From: yuta100101 Date: Sun, 9 Oct 2022 13:16:00 +0900 Subject: [PATCH] Fix install script --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 1b7ce0e..2e8e0f9 100755 --- a/scripts/install +++ b/scripts/install @@ -279,10 +279,10 @@ install_navi() { log::success "navi is now available at ${navi_bin_path}" echoerr - if echo "$PATH" | grep -q "$navi_bin_path"; then + if echo "$PATH" | grep -q "$navi_bin_dir"; then : else - local -r cmd="$(export_path_cmd "$navi_bin_path")" + local -r cmd="$(export_path_cmd "$navi_bin_dir")" append_to_file "${HOME}/.bashrc" "$cmd" append_to_file "${ZDOTDIR:-"$HOME"}/.zshrc" "$cmd" append_to_file "${HOME}/.fishrc" "$cmd" @@ -292,7 +292,7 @@ install_navi() { echo log::note "Check https://github.com/denisidoro/navi for more info" - export PATH="${PATH}:${navi_bin_path}" + export PATH="${PATH}:${navi_bin_dir}" return 0 }