zimfw / input

Applies correct bindkeys for input events.
MIT License
14 stars 3 forks source link

Suppress variable noise in init.zsh #1

Closed Vaesper closed 4 years ago

Vaesper commented 6 years ago

This was causing noise in my terminal when sourced outside of zimfw.

ericbn commented 6 years ago

We're doing this to force the variable to be local, but I get your point. My suggestion is that we add setopt LOCAL_OPTIONS TYPESET_SILENT to the script just to disable printing the var if it already exists.

Vaesper commented 6 years ago

Ah, that makes sense. Could also be wrapped in an anonymous function, instead.

ericbn commented 4 years ago

Done in 8b8dffbfcb28bdc3d693668df5e92b1302712d90