Skip to content

Commit 2b218a5

Browse files
committed
Quick locations in ezk bash simplified
1 parent e8cea2f commit 2b218a5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

EasyKey.bash/ezk-locations.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,18 @@ clear
2323
thekeys=($(echo {a..p}) $(echo {r..z}) $(echo {1..9}) $(echo {A..Z}))
2424
declare -x keycounter=1
2525

26-
menuInit "Quick Locations"
27-
submenuHead "Registered locations:"
26+
echo "Quick locations:"
2827
OLD_IFS=$IFS
2928
for (( i = 1; i < (( ${#locations[@]} + 1 )); i++ )); do
3029
IFS="=" read -r locname locdestination <<< "${locations[i]}"
3130
menuItem "${thekeys[keycounter]}" "$locdestination" "toDirAndTerminate ${locdestination}"
31+
echo "${thekeys[keycounter]}". "$locdestination"
3232
((keycounter++))
3333
done
34-
echo "${menudatamap[@]}"
3534
IFS=$OLD_IFS
3635
submenuHead "Shortcuts"
3736
menuItem X "Purge git dir cache" purgDirCache
38-
echo "${menudatamap[@]}"
39-
startMenu
37+
choice
4038

4139
source "${script_dir}/shellmenu.sh"
4240
unset locations

0 commit comments

Comments
 (0)