1
0
Fork 0
mirror of synced 2024-11-15 04:28:58 -05:00
Commit graph

453 commits

Author SHA1 Message Date
Matt Hamilton
a7824d788e [completion] update submodule 2016-02-07 23:41:49 -05:00
Matt Hamilton
e0fb98242c [README] note install via AUR package 2016-02-06 15:49:08 -05:00
Matt Hamilton
7874b97bf1 [pacman] cleanup privileged vs unprivileged
* moves check for yaourt into the other zpacman_frontend checks
* remove hardcoded sudo vs non-sudo; uses zpacman_frontend[_priv]
instead.
  * these vars are set in the zpacman_frontend value sanity check.
  * for values != yaourt, prepend sudo for zpacman_frontend_priv
2016-02-06 15:45:31 -05:00
Matt Hamilton
0e19c3d277 [pacman] local pkg installs don't need a frontend 2016-02-05 22:14:54 -05:00
Tmplt
31180a5c5e [pacman] don't call sudo on yaourt
As explained in #31, yaourt does not require to be called as root,
because it requests access by its own.

This closes #31 and closes #32
2016-02-05 22:13:48 -05:00
Matt Hamilton
0c1aa6e133 [git] fix some functions
* remove unneeded explination and authorship comments (as it's
noted in the README.md)

* s/git/command git/ (see issue #30)

* add is-true function, as it is required by a few other functions.
2016-02-04 15:33:12 -05:00
Matt Hamilton
cb12222811 use 'command git' in prompts
Fixes Zim issue with interation with any functions or aliases that wrap
'git'. See issue #30 for more information.
2016-02-04 15:08:22 -05:00
Matt Hamilton
9075729ac3 more elegant chsh 2016-01-31 18:08:00 -05:00
Matt Hamilton
5cb0a51049 [template] expand note of highlighter conflicts 2016-01-28 08:51:21 -05: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
0dc32b8957 update submodules 2016-01-20 22:10:39 -05:00
Matt Hamilton
5bc9889ca4 update submodules 2016-01-18 17:39:30 -05:00
Matt Hamilton
acc3adffcb [utility] don't set zcorrection by default
The code in the utility module only checks if the value is 'true'. There
is no need to set it to 'false'; just don't set it at all.

This should make it easier to enable/disable (uncomment vs value
change).
2016-01-17 07:15: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
4cee50c2d6 [utility] docs: remove unneeded escape 2016-01-12 14:19:38 -05:00
Matt Hamilton
284f5cf3ba [spectrum] add FX var check 2016-01-12 13:07:27 -05:00
Matt Hamilton
e9398e91fd [spectrum] remove bloat options 2016-01-12 13:05:22 -05:00
KoharaKazuya
b23f7ec6d9 [prompt] fix gitster local var
separate declaration and initialization of local array variable

Closes #21
2016-01-12 09:03:21 -05:00
Matt Hamilton
050924256e update highlighting submodule 2016-01-11 23:33:35 -05:00
Matt Hamilton
aef41e25c5 [input] check for null bindkey values
Only bind keys if length of var > 0

Hopefully these are the only keys that will require this testing. If
anyone encounters issues like issue #17 with additional keys, please
create an issue.

Closes #17
2016-01-09 05:27:55 -05:00
Matt Hamilton
d13614e3bb [prompt] change unset variable test
The old test, [[ ${var} ]] tests for unset AND zero-length strings.

Checking for zero length strings probably isn't that important. It is
enough to ensure that the variable is set.

Closes #18
2016-01-08 09:16:22 -05:00
Matt Hamilton
7020eead86 [archive] correct unarchive aliases 2016-01-07 16:20:23 -05:00
Matt Hamilton
89b2986db9 cleanup function error messages 2016-01-07 15:36:31 -05:00
Matt Hamilton
9f838982fb [prompt] syntax refactor 2016-01-07 08:10:29 -05:00
caedus75
b46edd43a8 [prompt] add setup function to themes
proper setup and preview of themes with 'prompt' function

closes #12, closes #15
2016-01-07 08:07:11 -05:00
Matt Hamilton
5f68411637 [prompt] gitster: use short_pwd 2016-01-06 09:41:40 -05:00
Matt Hamilton
be23020b2e [prompt] eriner: use short_pwd 2016-01-05 04:15:21 -05:00
Matt Hamilton
69b194302c [prompt] add short_pwd func 2016-01-05 04:15:13 -05:00
Matt Hamilton
bf10ce72c5 cleanup zlogin 2016-01-04 19:15:43 -05:00
Matt Hamilton
251437fd03 update License year 2016-01-01 12:40:39 -05:00
Matt Hamilton
5237b76e81 grammar fixup 2015-12-31 11:17:51 -05:00
Matt Hamilton
a599a63ccd leave ssh ids up to user 2015-12-31 11:13:39 -05:00
Matt Hamilton
ef8e4bd3be remove zcompare's return
No need to make returns for tests that we aren't making success/failure
checks for; the function itself deals with what needs to be zcompiled.
2015-12-31 11:09:08 -05:00
Matt Hamilton
20d84ab79d read from ${commands} rather than subshell 2015-12-31 10:54:57 -05:00
Matt Hamilton
e9c87a227d re-word custom/init.zsh 2015-12-31 10:48:03 -05:00
Matt Hamilton
a0706e0f46 slight init refactor
Removing argv removes the need to pass the arrays arround. Better to
just reference them directly.
2015-12-30 10:14:10 -05:00
Matt Hamilton
41c4ce7718 variable scoping 2015-12-30 10:00:56 -05:00
kee7a
711f65fbb3 fixed typo in the custom module
Closes #9
2015-12-30 07:16:28 -05:00
caedus75
f2806b45bf fix prompt substitutions/expansions
The 'prompt' function disables any option set with 'setopt'.
To make options persistent we need to use the 'prompt_opts' array
instead

Closes #8
2015-12-30 04:42:31 -05:00
Matt Hamilton
7f0dc26de3 fix typo in zimrc template 2015-12-29 14:53:26 -05:00
Matt Hamilton
534e627331 cleanup pacman module and options 2015-12-29 14:51:08 -05:00
Matt Hamilton
dd2806174f remove unused link 2015-12-29 13:44:52 -05:00
Matt Hamilton
1a7df80b5a s/http/https 2015-12-29 13:44:13 -05:00
Matt Hamilton
c5880eab94 Remove unnecessary braces 2015-12-29 11:34:38 -05:00
Matt Hamilton
b7977d28f2 add powerline symbols note 2015-12-29 11:19:36 -05:00
Matt Hamilton
fbb748252a Make note of prepend, silence error
If a file doesn't exist, "$(<nonexistent)" will write:
  zsh: no such file or directory: nonexistent
to fd 2. Wrap this with a "() 2>/dev/null" to silence these outputs.
2015-12-29 10:22:27 -05:00
Matt Hamilton
0f5ceab00a Prepend, don't append to user configs
We want to prepend the initialization of zim to any current user
configurations, not append. This way zim doesn't override any manually
configured settings in the user's config files.
2015-12-29 10:09:50 -05:00
Matt Hamilton
641ade3fbd fix bindkeys
this fixes the ctrl+arrowkey binds, as well as the binds for Home and
End.
2015-12-29 09:11:17 -05:00