Bash default values for BROWSER and EDITOR
In bash you could do e.g.:

```
BROWSER=${BROWSER:-firefox}
EDITOR=${EDITOR:-vim}
```

This will use the already defined BROWSER or EDITOR if it is set. Otherwise, the provided defaults (firefox and vim) will be used.

Also, for BROWSER, wouldn't it be better to use xdg-open and not force firefox or any other particular browser?

Regards,
tzok
