summaryrefslogtreecommitdiff
path: root/lib/spectrum.zsh
AgeCommit message (Collapse)Author
2021-11-11fix(lib): fix potential command injection in `title` and `spectrum` functionsMarc Cornellà
The `title` function unsafely prints its input without sanitization, which if used with custom user code that calls it, it could trigger command injection. The `spectrum_ls` and `spectrum_bls` could similarly be exploited if a variable is changed in the user's shell environment with a carefully crafted value. This is highly unlikely to occur (and if possible, other methods would be used instead), but with this change the exploit of these two functions is now impossible.
2020-04-05lib: speed up slow parts of the lib files; other small fixesMarc Cornellà
2018-08-07use https everywhere (#6574)Janosch Schwalm
* use https everywhere * use https links on the files that are left Also, removed some broken links and updated redirections.
2015-12-13Merge pull request #3966 from apjanke/fix-spectrum-lsMarc Cornellà
Make spectrum_ls implementation consistent with $FG and spectrum_bls
2015-06-08Fix the spectrum_ls implementation in spectrum.zshAndrew Janke
2015-06-08Hide spectrum.zsh var values to avoid junky "set" output to terminalAndrew Janke
2013-12-31Updates spectrum.zshLFDM
2013-10-16Added the spectrum_bls function, which prints all 256 colors set as thedejan
background. We can easily see which color we want to set when changing the PS1 shell variable, since the colors are more distinctive.
2011-07-23Add utility method to spectrumBenjamin Boudreau
2010-05-06escape sequences so rprompt doesn't mess upcanthiswait
2010-05-06Added scpectrum script for easy 256 color theamingcanthiswait