hsmw: A somewhat typo, missing % substitution

Issue #12, not directly related, but discovered at time of examining it
This commit is contained in:
Sebastian Gniazdowski 2018-08-04 16:20:41 +02:00
parent 73e7ea47b9
commit 7e2d79bb01

View file

@ -259,7 +259,7 @@ if [[ "$__hsmw_hcw_call_count" -eq "1" ]]; then
# Make the hsmw keymap a copy of the current main
bindkey -N hsmw emacs
local down_widget="${${${WIDGET%-backwards}%-pbackwards}-pforwards}"
local down_widget="${${${WIDGET%-backwards}%-pbackwards}%-pforwards}"
local up_widget="${down_widget}-backwards"
local pdown_widget="${down_widget}-pforwards"
local pup_widget="${down_widget}-pbackwards"