iam4x / zsh-iterm-touchbar

Display feedback of terminal in the 🍏 Touchbar
MIT License
689 stars 75 forks source link

Refactor: move key binding logic to setKey function #21

Closed claudevandort closed 6 years ago

claudevandort commented 6 years ago

No new features, just abstracted key binding logic to the following function setKey(fnKey, label, command, quiet_flag) to make the code easier to read and to contribute to (:

iam4x commented 6 years ago

Thank's 👍