Commit Graph

165 Commits

Author SHA1 Message Date
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
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
c3130eda38 disabling 'cursor' breaks color changes
the 'cursor' highlighter needs to be enabled for character color changes
to take place beneath the cursor on non-(u)rxvt terminals.

Partial revert of ab99776
2015-12-29 05:00:48 -05:00
Matt Hamilton
ab99776d4e Disable 'cursor' as default highlighter
'cursor' isn't super useful and causes problems with rxvt.

Also make note of where documentation can be found for the various
highlighters.
2015-12-29 04:47:25 -05:00
Matt Hamilton
e9a1018c25 unfunction loaders after use 2015-12-29 01:28:24 -05:00
Matt Hamilton
fb7defa729 cleanup of zlogin
Change the scope of the job: {} to (); removes need for unfunction

Because we changed the job scope, we no longer need the anonymous
function/local var.
2015-12-28 03:11:39 -05:00
Matt Hamilton
b6b3620f34 not in a function; remove local 2015-12-28 01:56:07 -05:00
Matt Hamilton
9c84d1904c unset pacman helper var 2015-12-28 01:46:08 -05:00
Matt Hamilton
1ee4d85547 fix gitster prompt 2015-12-27 21:13:08 -05:00
Matt Hamilton
598326aa9f fix minimal prompt 2015-12-27 21:11:58 -05:00
Matt Hamilton
5cccdc255b cleanup trace function a bit 2015-12-27 19:33:30 -05:00
Matt Hamilton
50c8f70179 add debug module 2015-12-27 19:13:57 -05:00
Matt Hamilton
b1f7191ac1 Merge pull request #4 from ishitatsuyuki/ishitatsuyuki-patch-1
Fix zlogin typos
2015-12-27 04:16:13 -05:00
ishitatsuyuki
3ddc1703af Fix zlogin typos 2015-12-27 18:14:35 +09:00
Matt Hamilton
e6068a7ede zsh 5.1.1 url-quote-magic requires bracketed-paste 2015-12-27 04:00:20 -05:00
Matt Hamilton
599add14b9 use is-at-least to determine version 2015-12-27 03:58:01 -05:00
Matt Hamilton
11aaff5614 Compare version as float
ZSH_VERSION isn't guarenteed to be a float (5.1.1). In this case, it
should be safe to just strip it to a float: 5.1(.1)

closes issue #3
2015-12-27 03:46:50 -05:00
Matt Hamilton
4a934de754 add url-paste "if" based on ZSH_VERSION 2015-12-26 00:45:41 -05:00
Matt Hamilton
add7f40799 fix broken variable 2015-12-23 05:13:09 -05:00
matt hamilton
4acb1660f4 fix ssh_{env,agent} vars 2015-12-23 08:57:13 +00:00
Matt Hamilton
d6e2e24c17 make template append explicitly clear 2015-12-22 11:12:06 -05:00
Matt Hamilton
5572a2330d update steef again 2015-12-22 10:52:15 -05:00
Matt Hamilton
6fa8dcb95d update steeef prompt 2015-12-22 09:47:19 -05:00
Matt Hamilton
7d8601089a zcompile custom init.zsh; this may become large 2015-12-22 06:26:54 -05:00
Matt Hamilton
65841b002b add 'custom' module to default zmodules 2015-12-22 05:56:56 -05:00
Matt Hamilton
d52993c70e add 'custom' module for easy customization 2015-12-22 05:55:48 -05:00
Matt Hamilton
9302507257 use sane dir if $TMPDIR is not set 2015-12-21 20:34:55 -05:00
Matt Hamilton
fb549f108a use autoload -Uz, not -U 2015-12-21 20:16:43 -05:00
Matt Hamilton
b0bf9d2ebc load-time optimizations 2015-12-20 20:42:48 -05:00
Matt Hamilton
a632bff0e5 remove ssh from default modules 2015-12-20 19:25:11 -05:00
Matt Hamilton
fd826dbd8a fixup pigz and pbzip2 in (un)archive funcs 2015-12-19 17:08:43 -05:00
Matt Hamilton
1b2176534a add utility module comments 2015-12-19 17:05:43 -05:00
Matt Hamilton
c4d607826c clarify install zsh shell 2015-12-19 16:53:09 -05:00
Matt Hamilton
dcc3265987 remove git-hub functions 2015-12-19 09:49:11 -05:00
Matt Hamilton
a1a56ac63f use consistent variable style 2015-12-19 09:48:29 -05:00
Matt Hamilton
08c9987b38 symlink git_current_branch to git-branch-current 2015-12-19 09:42:09 -05:00
Matt Hamilton
c577d77fc4 update history-substring-search 2015-12-18 14:03:40 -05:00
Matt Hamilton
de3e74b9ca re-organize themes section, remove image 2015-12-18 13:46:16 -05:00