mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
completion: Drop unnecessary $ from variables in arithmetic expressions
It’s not needed, according to shellcheck. Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
@@ -22,7 +22,7 @@ __gdbus() {
|
||||
local colon_word=${cur%${cur##*:}}
|
||||
local i=${#COMPREPLY[*]}
|
||||
while [ $((--i)) -ge 0 ]; do
|
||||
COMPREPLY[$i]=${COMPREPLY[$i]#"$colon_word"}
|
||||
COMPREPLY[i]=${COMPREPLY[i]#"$colon_word"}
|
||||
done
|
||||
;;
|
||||
esac
|
||||
|
Reference in New Issue
Block a user