Skip to content

Commit

Permalink
minor: $ inside $(()) is not required
Browse files Browse the repository at this point in the history
  • Loading branch information
vbauerster committed Nov 15, 2024
1 parent 4cf139e commit 0367833
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/kamp-buffers
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ while getopts 's:h' OPTION; do
;;
esac
done
shift $(($OPTIND - 1))
shift $((OPTIND - 1))

: ${session:=$KAKOUNE_SESSION}

Expand Down
2 changes: 1 addition & 1 deletion scripts/kamp-fifo
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ while getopts 'c:h' OPTION; do
;;
esac
done
shift $(($OPTIND - 1))
shift $((OPTIND - 1))

kamp >/dev/null # fail early if there is no session

Expand Down

0 comments on commit 0367833

Please sign in to comment.