Skip to content

Commit

Permalink
Bump to 0.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
denisidoro committed Dec 17, 2019
1 parent 61ba531 commit ac39ac6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion navi
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -euo pipefail
export NAVI_HOME="$(cd "$(dirname "$0")" && pwd)"
source "${NAVI_HOME}/src/main.sh"

VERSION="0.16.0"
VERSION="0.17.0"
NAVI_ENV="${NAVI_ENV:-prod}"

opts::eval "$@"
Expand Down
4 changes: 2 additions & 2 deletions src/ui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ui::fzf() {
ui::select() {
local -r cheats="$1"

[[ "$SHELL" =~ 'fish' ]] || local -r sub='$'
[[ "${SHELL:-}" =~ 'fish' ]] || local -r sub='$'

local -r script_path="${NAVI_HOME}/navi"
local -r preview_cmd="\"${script_path}\" preview ${sub:-}(echo \'{}\' | $(arg::serialize_code))"
Expand Down Expand Up @@ -95,4 +95,4 @@ ui::print_preview() {
printf " \033[${tag_color}m["; echo -n "$tags"; echo "]"
printf "\033[${snippet_color}m"
echo "$snippet" | ui::remove_dep_order
}
}

0 comments on commit ac39ac6

Please sign in to comment.