Commit graph

10 commits

Author SHA1 Message Date
Hans-Kristian Bakke dab034b32e Make solarized8.sh sh compatible
The script contained bashisms like substring expansions and a double
quoted tests but still had a /bin/sh shebang, which broke execution on
distros where sh is pointing to `dash` or something other than bash.
Modern Debian is one such example.

Additionally, as the regex pattern was quoted in the original test it
was interpreted literally and not as a regex pattern so the original
logic did not work as intended, even if executed in bash.

The new version keeps the same logic (although without the regex issue)
but implemented in a way that should be compliant with most sh shells,
and perhaps a bit easier to extend with other shells.

The script now depends on sed to replace the bash substring expansion
logic, but sed should be available on almost any system.
2021-03-09 19:02:06 +01:00
Hans-Kristian Bakke 2dd890729e Make solarized8.sh executable 2021-03-09 17:48:10 +01:00
Lifepillar 97110edfc1 Rebuild the color schemes. 2019-06-06 17:43:11 +02:00
Lifepillar df6d1d68af Remove make_colorschemes script. 2019-06-06 15:08:50 +02:00
Lifepillar 29b2bd391a Remove spurious command. 2019-03-06 10:59:35 +01:00
Lifepillar 5a8548ae4d Use correct syntax for regexp.
This is a shell script, not Vim script!
2019-03-06 10:58:39 +01:00
Lifepillar c53e245700 Match 'tmux' besides 'screen'. 2019-03-06 10:48:52 +01:00
fcying c44cd578ec add tmux check condition 2019-03-01 15:09:55 +08:00
Lifepillar a534e726e5 Update comment. 2017-11-30 18:34:16 +01:00
Lifepillar 68ac42092e Add script to change an xterm color palette. 2017-11-30 18:31:18 +01:00