scmbreeze / scm_breeze

Adds numbered shortcuts to the output git status, and much more
https://madebynathan.com/2011/10/19/git-shortcuts-like-youve-never-seen-before/
MIT License
2.83k stars 191 forks source link

Don't set environment variable $shell #276

Open HaleTom opened 6 years ago

HaleTom commented 6 years ago

Setting shell=bash or shell=zsh pollutes the environment and may conflict with something else which expects BASH or ZSH.

HaleTom commented 5 years ago

Thinking about this holistically, we should probably do set > pre before loading SCMB, then set > after and diff the two files for any other temporary environment variables set but not unset.