Commit Graph

177 Commits

Author SHA1 Message Date
Matt Hamilton
d36d57e62a [completion] add ${zcompdump_file} option
This commit assumes that the user-provided variable for the filename
will start with '.zcomp'. This is used in the .zlogin for zcompiling the
completion file. Sourcing the .zimrc file within the .zlogin file is
something I'd rather not do, and this seems like a good compromise. If
this becomes an issue, the file can be sourced an the var can be used
instead.

Closes #42
2016-07-19 00:23:49 -04:00
Cenk Gündoğan
f1e697db6f [prompt] fix gitster path to reflect git repo
allow optional parameter for short_pwd

Closes #41
2016-07-19 00:23:49 -04:00
Matt Hamilton
3752992562 [syntax-highlighting] update submodule 2016-07-19 00:23:49 -04:00
1cdf227ab4 Don't use unicode when it isn't availible 2016-07-19 04:18:52 +00:00
46fec87f9f Merge branch 'master' of https://github.com/Eriner/zim 2016-03-27 22:04:51 -04:00
Matt Hamilton
983919fce4 [prompt] update "pure" theme submodule 2016-03-27 18:48:11 -04:00
Matt Hamilton
af608ab15b [syntax-highlighting] update submodule 2016-03-27 18:47:55 -04:00
Matt Hamilton
7d254b2e83 [substring-search] update submodule 2016-03-27 18:47:43 -04:00
Matt Hamilton
9b03840753 [completion] update submodule 2016-03-27 18:46:59 -04:00
Matt Hamilton
03f15c4495 [fasd] add initial fasd support
[zlogin] zcompare fasd and all functions

[fasd] trim non-zsh options

[fasd] merge PR #75 from clvv/fasd

[fasd] partial merge PR #77 from clvv/fasd

This closes #24
2016-03-27 18:45:05 -04:00
Matt Hamilton
f19a0268ee [syntax-highlighting] update submodule 2016-02-27 18:43:33 -05:00
Matt Hamilton
ee512c85a9 [completion] update submodule 2016-02-27 18:43:19 -05:00
Matt Hamilton
b9595699a1 use markdown MIT license 2016-02-18 00:04:06 -05:00
Matt Hamilton
858352ebf9 add issue and PR templates 2016-02-17 23:57:41 -05:00
Matt Hamilton
f404c5ba9f [prompt] update "pure" theme submodule 2016-02-17 10:09:36 -05:00
a8667fdb91 Add some custom functions to input module
* ... -> ../.. expansion
 * sudo prefix
 * bind ^H to backward-kill-word
2016-02-15 11:24:14 -05:00
f988d80d78 Add terminal title to prompt function 2016-02-15 11:16:13 -05:00
f76494da36 Add my custom theme 2016-02-15 11:16:13 -05:00
Matt Hamilton
1865d697ef [syntax-highlighting] update submodule 2016-02-15 10:23:28 -05:00
Matt Hamilton
be2e54c0fc [README] create template file if it doesn't exist 2016-02-11 03:08:40 -05:00
Matt Hamilton
e42afb7d99 [completion] update submodule 2016-02-10 04:16:59 -05:00
Matt Hamilton
0fdfdef502 [zlogin] zcompare functions in custom/functions/* 2016-02-08 22:16:19 -05:00
Matt Hamilton
0b4d0c1fff [syntax-highlighting] update submodule 2016-02-07 23:42:42 -05:00
Matt Hamilton
9468a6219a [prompt] update "pure" theme submodule 2016-02-07 23:42:16 -05:00
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