mirror of
https://github.com/denisidoro/navi
synced 2024-11-21 19:13:07 +00:00
Fix typo
This commit is contained in:
parent
260966ba6c
commit
0eeb3218b0
2 changed files with 3 additions and 3 deletions
|
@ -40,7 +40,7 @@ arg::pick() {
|
|||
|
||||
local -r prefix="$ ${arg}:"
|
||||
local -r length="$(echo "$prefix" | str::length)"
|
||||
local -r arg_dict="$(grep "$prefix" "$cheat" | str::sub $((length + 1)) | arg::dict)"
|
||||
local -r arg_dict="$(echo "$cheat" | grep "$prefix" | str::sub $((length + 1)) | arg::dict)"
|
||||
|
||||
local -r fn="$(dict::get "$arg_dict" fn | sed 's/\\f/\\n/g')"
|
||||
local -r args_str="$(dict::get "$arg_dict" opts)"
|
||||
|
|
|
@ -91,8 +91,8 @@ handler::home() {
|
|||
|
||||
handler::widget() {
|
||||
local widget
|
||||
|
||||
case "$SH" in
|
||||
|
||||
case "$SH" in
|
||||
zsh) widget="${SCRIPT_DIR}/shell/widget.zsh" ;;
|
||||
*) echoerr "Invalid shell: $SH"; exit 1 ;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue