ℳichiel ℛoos
5566a41f7c
Negate var test conditions
...
We want to know if the vars are 'not' set.
2017-05-11 12:06:56 +02:00
ℳichiel ℛoos
4d86eb6d78
Change conditions to zsh style
2017-05-10 19:56:26 +02:00
ℳichiel ℛoos
9e675508b2
Prevent overwriting of defined environment vars
...
Env vars set in `.zshenv` should not be overwritten.
However, it is sourced before Zim loads, making Zim overwrite the settings.
Fixes : #175
2017-05-10 10:27:13 +02:00
Nils Reusse
7d952adf2b
[utility] fix warning when logging in on tty
...
... ${terminfo[colors}, variable not set. Check that the variable
exists before checking for colors.
Closes #125
2017-01-29 14:33:18 -08:00
Eric Nielsen
7a289c4c0d
Add less termcap colour variables
...
Set `less` termcap colour variables, and update the module README.md.
Change the code to enclose all colour logic within a
`(( ${terminfo[colors]} >= 8 ))` condition.
Check if `PAGER` is set before setting the `lm` alias.
Keeping the British "colour" spelling. :-)
Closes #101
2016-12-01 23:51:59 -08:00
Eric Nielsen
0a9d105107
[utility] Simplify correction prompt config
...
For `setopt CORRECT`. Let the user uncomment a line with the `setopt`
directly in the configuration file, instead of having a flag variable
for it.
Closes #90
2016-10-25 16:12:40 -07:00
Alex Poslavsky
41154cd0c4
[utility] fix OpenBSD grep color
...
Use ggrep or use no color, also fixes #54 .
Closes #54 , closes #55
2016-05-20 18:43:20 -07:00
Georgy Yakovlev
d510f4f861
Fix for OpenBSD ls alias https://github.com/Eriner/zim/issues/47
...
Closes #48
2016-05-13 13:38:48 -07:00
Matt Hamilton
474715170b
[utility] fix safe-rm alias
...
Alternative approach to determine if aliasing safe-rm is viable.
If safe-rmdir is available, the OS is Suse (which has it's own safe-rm).
Note to Suse: you're making problems for me. Stop.
Closes #27
2016-01-23 19:45:55 -05:00
Matt Hamilton
5ff931065f
[utility] apply ch(mod|root) condoms only on linux
...
Closes #26
2016-01-23 15:04:52 -05:00
Matt Hamilton
bb680b3742
[utility] fix safe-rm condom on opensuse
2016-01-23 03:10:55 -05:00
Matt Hamilton
95cc94d9a0
[utility] add setopt correct option
...
This option can be enabled by setting `zcorrection='true'` in .zimrc
Closes #25
2016-01-17 07:08:08 -05:00
Matt Hamilton
be99dc0971
add comments and fix BSD ls typo
2015-12-29 05:34:13 -05:00
Matt Hamilton
b28cdf2f13
fix ls alais for BSD systems
2015-12-29 05:32:02 -05:00
Matt Hamilton
1b2176534a
add utility module comments
2015-12-19 17:05:43 -05:00
Matt Hamilton
9d6952400d
fix aria2c typos
2015-12-18 07:23:00 -05:00
Matt Hamilton
c80bc6d86d
add utility aliases
2015-12-18 02:46:16 -05:00
Matt Hamilton
495bde2404
add utility documentation
2015-12-15 18:49:15 -05:00
Matt Hamilton
3a62391e0e
initial commit
2015-12-15 00:12:17 -05:00