gnachman / iterm2-website

Website for iTerm2
http://iterm2.com/
GNU General Public License v2.0
81 stars 65 forks source link

Set iterator scope to local in shell integration #64

Closed traveaston closed 5 years ago

traveaston commented 5 years ago

Bash doesn't automatically scope the iterator in a for loop. Before this change, sourcing this script results in global "$var=HISTTIMEFORMAT"

gnachman commented 5 years ago

Will merge this pending the upstream: https://github.com/rcaloras/bash-preexec/issues/95

rcaloras commented 5 years ago

Fixed upstream: https://github.com/rcaloras/bash-preexec/commit/2dca19c985c4c238ef6e6548746f426e0949a3eb

gnachman commented 5 years ago

Shell integration updated at commit c69847d1704e2daa2f00f3d32e146fc5816fd694. This will go live when I next update the website.