prezto/modules/osx/functions/_settings
Josh Heidebrecht b0c0c6cc58 Add wherefrom and settings function for osx
- Fix a missing local variable definition in tab
2015-12-24 00:43:14 -07:00

10 lines
207 B
Text

#compdef settings
_known_settings=$(osascript 2>/dev/null <<EOF
tell application "Terminal" to get name of every settings set
EOF
)
_arguments \
"1:Terminal Settings:( \${(s:, :)_known_settings} )"