Commit Graph

176 Commits

Author SHA1 Message Date
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
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