1
0
Fork 0
mirror of synced 2024-11-04 15:58:57 -05:00
zimfw/modules
Eric Nielsen 6022fe46c5 [utility] BSD uses LSCOLORS and GREP_COLOR
and GNU uses LS_COLORS and GREP_COLORS. So change logic to only set
these environment variables for each OSTYPE.

Also original code was setting the `ls` alias with `-G` instead of
`--color=auto` if in a GNU without `dircolors`. Fix that too.

Simplify arithmetic command expression without using `${var}`, but
`var` instead. The second construct does not fail if `var` is not
defined, but defaults its value to `0` in that case.

Closes #225
2017-11-24 19:14:23 -05:00
..
archive [archive] Remove _gzip_bin and _bzip2_bin refs 2017-10-23 09:54:08 -05:00
autosuggestions [autosuggestions] Update submodule 2017-06-08 09:56:48 -05:00
completion [completion] Don't zcompile the zcompdump file 2017-11-24 19:08:20 -05:00
custom Allow arbitrary ZIM location with ZIM_HOME 2017-09-04 17:25:01 -05:00
debug Allow arbitrary ZIM location with ZIM_HOME 2017-09-04 17:25:01 -05:00
directory use setopt NO_CLOBBER instead of unsetopt CLOBBER 2017-01-11 22:16:07 -08:00
environment [environment] Remove path separator from WORDCHARS 2017-09-21 19:23:14 -05:00
fasd remove broken quote in fasd function 2017-05-30 06:30:30 -07:00
git [git] Use fetch --all in gfu alias 2017-07-30 17:35:44 -05:00
git-info [git-info] Remove dependency on git-dir function 2017-04-12 20:21:26 -05:00
history use consistent variable style 2015-12-19 09:48:29 -05:00
history-substring-search [history-substring-search] Remove redundant defaults 2017-07-17 16:15:51 -03:00
input [input] Fix typo in README 2016-12-01 23:51:59 -08:00
pacman [pacman] detect pkg regardless of compress method 2017-09-18 09:18:12 -04:00
prompt [prompt] pure: Update submodule to version 1.6.0 2017-11-01 17:56:25 -05:00
spectrum [spectrum] add FX var check 2016-01-12 13:07:27 -05:00
ssh fix broken variable 2015-12-23 05:13:09 -05:00
syntax-highlighting [syntax-highlighting] Update submodule to version 0.6.0 2017-09-11 09:48:55 -05:00
utility [utility] BSD uses LSCOLORS and GREP_COLOR 2017-11-24 19:14:23 -05:00