Commit graph

1711 commits

Author SHA1 Message Date
Kaleb Elwert ce349dff81
Allow modules to be loaded from multiple places (#1458)
* Allow modules to be loaded from multiple places
* Add setting for user specified module dirs

This is initial work for the contrib repo, mentioned in #1424
2017-11-12 16:01:39 -08:00
Kaleb Elwert ad79f78fbe prompt: fix async usage in sorin prompt
Fixes #1509
2017-11-11 20:57:03 -08:00
Kaleb Elwert e159c1a439 prompt: update sorin prompt async usage to be closer to pure 2017-11-11 15:18:31 -08:00
Kaleb Elwert f02dc1af57 gpg: potential fix for #1252 2017-11-10 12:23:37 -08:00
Kaleb Elwert 105e9658bb gnu-utility: avoid overriding shell builtins
Fixes #1263
2017-11-10 11:54:54 -08:00
Kaleb Elwert 948d9b3aa5 Store cache files in a user-writable location
Fixes #1122
2017-11-10 11:37:14 -08:00
Kaleb Elwert 79927ac73a editor: Fix Home and End in vicmd mode
Fixes #1160
2017-11-10 11:06:50 -08:00
Kaleb Elwert 485ad9e704 Add Alternatives section to archive module README (Fixes #705) 2017-11-10 10:38:15 -08:00
Kaleb Elwert c7dcd21c9e Don't show ruby info if using system version
Based off a8fe1b3cb4 by @chauncey-garrett
2017-11-09 13:55:20 -08:00
Kaleb Elwert 7ebb5e9dda environment: Fix logic around url quoting in zsh >= 5.1
Closes #1015, Fixes #978

Thanks to @Eriner for pointing us in right direction.

The code for this comes from zim. This is the last commit with the code we're using:
537f076603 (diff-30465d78a41f73dc0f6967d3f34d7964)

Note that we need this workaround because we currently support back to
4.3.11.

I believe that originally came from here:
https://github.com/robbyrussell/oh-my-zsh/pull/4473
2017-11-06 11:58:05 -08:00
François VANTOMME ff9b901394 Set key binding (^space) to expand all aliases including global (#1500) 2017-11-01 17:00:32 -07:00
Kaleb Elwert 4b0ecffaca prompt: update pure to 1.6.0
Refs #1487
2017-10-29 23:32:14 -07:00
Parth Laxmikant Kolekar 87d39f5dd2 Update init.zsh
It seems that my older git does not support '@' yet.
2017-10-26 10:28:56 -07:00
Kaleb Elwert cbcbedd694 prompt: Add basic troubleshooting information for fonts
This is related to #1495 and a number of other issues which have been
filed about font issues.
2017-10-24 12:52:42 -07:00
Kaleb Elwert 109864429c ssh: fix loading of ssh identities when none are explicitly defined 2017-10-18 17:30:16 -07:00
Parth Laxmikant Kolekar b5d09e2da7 Lower requirements down to 4.3.11 again (#1491)
There was an update with the syntax-highlighting module which fixed compatibility with 4.3.11.
2017-10-20 10:38:48 -07:00
Jeff Widman fb903cb067 Document support for macOS
This adds docs for b0c85eddf6 which was added in https://github.com/sorin-ionescu/prezto/pull/1376/
2017-10-19 23:17:14 -07:00
Manoel Vilela 6d5650eae7 [tmux] Avoid run tmux when the shell is executed on emacs
This avoid weird bugs to try running zsh through C-x M-x
and bug happens because obviously tmux is not designed to be
executed inside emacs.
2017-10-19 23:15:17 -07:00
Kevin Kirsche 25d8db301d Clarify that brewu updates AND upgrades
As homebrew includes both an update and upgrade command, it is beneficial to clarify that this performs both, rather than just the update.
2017-10-09 11:15:25 -07:00
Kaleb Elwert 63310f6403 ssh: update SSH_ASKPASS workaround to more closely match what ssh-add needs
Fixes #1478
2017-10-04 13:41:45 -07:00
sergiorussia 1d0bee6098 Fix README.md for autosuggestions and history-substring-search (#1471) 2017-09-19 00:38:24 -07:00
Nicola Corna 9520f1be6f archive: fix unrar-free and add support for unar (#1383)
* archive: fix unrar check when using unrar-free

unrar-free returns the error code 1 when run without arguments, thus
failing the presence check. Replacing the current presence check with
(( $+commands[unrar] )) fixes the problem.

* archive: add unar support for lsarchive and unarchive

No `archive` support with unar.
2017-09-18 16:27:31 -07:00
Greg Anders cd703d3c3c Add make to gnu-utility commands 2017-09-17 14:57:18 -07:00
Samantha McVey 752f64f085 Bind more unbound keys in viins and vicmd to nothing
Unbound keys in viins or vicmd mode have undefined results. Bind
two more of these to nothing to avoid this.
2017-09-17 14:55:22 -07:00
Damien Pollet 00f1d92ed8 Fix typo in zprezto-update function 2017-09-08 12:46:02 -05:00
Andrew Breckenridge 34d4897d0e Updates outdate Mac OS X to macOS 2017-09-07 11:30:05 -07:00
Diego Rabatone Oliveira 3faaffe7e9 Updating submodules
Updating `completition`, prompt `async` and `syntax-highlighting`. All
modules where checkout to their latest tag.
2017-09-06 11:39:43 -07:00
Kaleb Elwert 34482cb325 prompt: add documentation for return value display 2017-09-06 11:19:17 -07:00
Samantha McVey 2cfd366ba6 [prompt_sorin] Use ✘ and show return value for non-0 rtrns (#1460)
If you do not want it to show the return code, you can set:
`zstyle ':prezto:module:prompt' show-return-val false`
2017-09-06 11:14:35 -07:00
Samantha McVey 808d9d3579 Add zsh-help function for easily searching the zsh documentation (#1360)
* Add zsh-help function for easily searching the zsh documentation

Looks up things in the zsh documentation.
Usage: zsh-help [--all] search term(s)

Option --all will seach for the term anywhere, not just at the start of a
line. When not using --all it will search nicely for terms at the beginning
of the line, which in the zsh man pages is where terms that are explained
are located, allowing you to search the zsh man pages easily.

* Improve zsh-help to search section headings before other text

Provides a much easier way to search and access ZSH's manual. First checks for
terms at the start of the manual, then checks if it's at start of a line allowing
whitespace.

Clean up some of the code a bit and format it to have a proper header for the
zprezto project with author/email and description of the function.
2017-09-06 11:11:19 -07:00
Antoine Rahier 76388a8cd1 Pin powerlevel9k submodule to latest release (v0.6.4) 2017-08-31 18:31:09 -05:00
Antoine Rahier 6a8f1c6b16 Add powerlevel9k theme 2017-08-31 18:31:09 -05:00
Jeff Widman ba0cb8afd8 Add missing highlighter to readme
This was added to `.zpreztorc` in 4f19700919 but forgot to add it here.
2017-08-29 16:54:12 -07:00
Jeff Widman 46de6fef77 Swap italics to code formatting and add hyperlink 2017-08-29 16:53:56 -07:00
Jeff Widman 37c61a058c Document that fasd is now bundled with prezto
Document that `fasd` is now bundled with prezto (19990c8025) and that it's a fallback to a manually installed version (04bfb5131b).
2017-08-29 16:52:22 -07:00
Jeff Widman 38fb41d66e Use backticks rather than italics for paths
This is more typical with what I observe elsewhere
2017-08-29 16:52:06 -07:00
Jeff Widman 727f094b0f [python] cleanup readme formatting
Anyone want some backticks? :-)
2017-08-29 16:51:27 -07:00
Jeff Widman 8fa14ed72f Drop easy_install in docs, everyone now uses pip (#1436) 2017-08-29 16:04:44 -07:00
Jeff Widman 58bcc43bf9 Fix typo 2017-08-29 15:18:30 -07:00
Jeff Widman 98f37b3c2f Update reference to Bombich's rsync 2017-08-29 16:33:06 -05:00
Foo Chuan Wei a7fb175b20 Fix English mistakes in the autosuggestions module README.md (#1444)
* Change 'conjuncture' to 'conjunction'
* Fix ambiguous pronoun references
2017-08-28 19:17:45 -07:00
Greg Anders 9c528efa60 Explicitly set PYENV_ROOT 2017-08-26 16:21:45 -05:00
Indrajit Raychaudhuri 83ab314b77 [python] Refine pyenv based virtualenv management
Now that pyenv plugins availability is detected by directly probing
'pyenv', we need to rely on the same mechanism consistently.

Further, we perform available pyenv plugin scan with native zsh
techniques instead of relying on external commands.
2017-08-18 09:35:52 -05:00
Indrajit Raychaudhuri 5ffc8a07f1 [python] Ensure availability of virtualenvwrapper file before sourcing it 2017-08-18 07:56:10 -05:00
Jeef cab4ac54ec Update prompt_sorin_setup
Addressing a type - and switching from a custom orange to yellow (from default color list) for prompt.
2017-08-17 23:27:26 -05:00
Jeef 4c272a20f6 Update prompt_sorin_setup
Moved ` ` after the virtual env info into the `zstyle` call and out of `RPROMPT`
2017-08-17 23:27:26 -05:00
Jeef 5b244eeadb Update prompt_sorin_setup
Added python support
2017-08-17 23:27:26 -05:00
Zach Whaley 3194442759 Edit pyenv virtualenv-init check to support non-brew installations
If the pyenv virtualenv plugin is installed using the [pyenv-installer][1]
app script or directly via a [Git clone][2], then the pyenv-virtualenv-init
executable, that the `pyenv virtualenv-init` command uses, will not
exist in the user's PATH and therefore cannot be found using
`$commands[pyenv-virtualenv-init]`.
Installing the pyenv-virtualenv plugin in this manner is common among Linux users.

Using the pyenv `commands` command, which lists all commands pyenv can
run, we can find if the virtualenv-init command is available to pyenv
and subsequently the virtualenv plugin, without relying on
pyenv-virtualenv-init to exist in the user's PATH.

[1]: https://github.com/pyenv/pyenv-installer
[2]: https://github.com/pyenv/pyenv-virtualenv#installing-as-a-pyenv-plugin
2017-08-17 22:50:17 -05:00
Jeff Widman 9dfa8a67f6 Fix typo 2017-08-16 14:58:21 -07:00
Jeff Widman e6af5f2e91 Fix typo 2017-08-16 13:52:40 -05:00