From 11cb2bf65830dd42af1ca06dcb005e1fb38cee3a Mon Sep 17 00:00:00 2001 From: Toine Hartman Date: Fri, 30 Sep 2016 15:01:24 +0200 Subject: [PATCH] Personal mods. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Personal mods. Squashed commit of the following: commit e6eea17b12d18775cb26df7f0eddcf4d9b5cc59d Author: Diego Rabatone Oliveira Date: Thu Nov 8 13:02:10 2018 -0200 Update submodules Updating to the latest released tags for modules: completetion syntax-highlighting And for agnoster prompt commit 1ed5331e84421241c58e9f15795650f9608bf186 Author: Tercio Gaudencio Filho Date: Mon Oct 15 09:56:41 2018 -0300 Fix issue #1635. Option to disable GNU ls to group directories first. commit bfe1815cbfb9044cdfc341383ad2d930781d7db8 Author: Indrajit Raychaudhuri Date: Sat Oct 13 23:16:20 2018 -0500 prompt/sorin: Minor cleanup and reordering commit a43093119e8d0e7ebb49e45b9fda069c3c4998fd Author: Indrajit Raychaudhuri Date: Sat Oct 13 23:13:16 2018 -0500 prompt/minimal: Add support for preview commit a3753d8f3b09911d064293bdd3c87d98b9ddfc3b Author: Indrajit Raychaudhuri Date: Sat Oct 13 23:09:14 2018 -0500 prompt/steeef: Add basic support for editor_info and preview commit 58809b2d21274cf462ca3d597c41e1e4ec509034 Author: Indrajit Raychaudhuri Date: Fri Oct 12 16:53:46 2018 -0500 Update submodule 'history-substring-search' history-substring-search doesn't tag releases anymore and just maintains the master branch -- switching to tracking master instead. commit 992b9de5050f38cdefee26dc020175506c8469a2 Author: Indrajit Raychaudhuri Date: Fri Oct 12 10:52:24 2018 -0500 doc: More copyediting and formatting for consistency commit 6f603df7a641fb136b8b168d75e905fef60a00cf Author: Indrajit Raychaudhuri Date: Fri Oct 12 03:55:55 2018 -0500 general: Miscellaneous documentation updates - Add missing documentation for options and environment variables - Rearrange definition and documentation of 'Options', 'Variables' and 'Aliases' in a consistent order commit ff5bd9306e99c5286d4eb85be5ceb1deba5a3c22 Author: Indrajit Raychaudhuri Date: Thu Oct 11 17:26:38 2018 -0500 submodule: Updating submodules 'modules/prompt/external/async' updated to 'v1.7.1' 'modules/syntax-highlighting/external' updated to latest 'master' commit df4c61861d298880edac1413f386704950fb9f76 Author: Indrajit Raychaudhuri Date: Thu Oct 11 17:10:35 2018 -0500 doc: Bit of copyediting and formatting for consistency and clarification commit 6c46804f418effb65442c6d92f63950f831c281e Author: Kaleb Elwert Date: Fri Sep 28 14:51:59 2018 -0700 environment: only enable bracketed paste on non-dumb terminals Fixes #1552 commit e9387a177e04b05dcf4f82e622615ddd32c558db Author: Kaleb Elwert Date: Fri Sep 28 14:24:25 2018 -0700 python: respect PYENV_ROOT if already set Fixes #1578 commit ee885d42decf58ba90ddff250bb9c05f66009397 Author: Kaleb Elwert Date: Fri Sep 28 14:04:20 2018 -0700 python: use pure's magic value for VIRTUAL_ENV_DISABLE_PROMPT Fixes #1627 commit fbcae356d30928802e8150f4beca7e43f39513e1 Author: Diego Rabatone Oliveira Date: Mon Sep 17 17:28:15 2018 -0300 Updating submodules For the submodules that have some kind of release (tags), they were updated up to the most recent release. Otherwise, the submodule was updated to the latest commit. commit f366e49c32727d658160ca4ff2ec6d515ace7aa6 Author: Indrajit Raychaudhuri Date: Sat Sep 15 01:55:46 2018 -0500 homebrew: Cleanup homebrew aliases - 'brew upgrade' does 'brew update' by default, no need for explicit call - replace 'brew remove' with 'brew uninstall' for consistency commit ad861d3b45190053deba73392b128805f37b06d1 Author: Indrajit Raychaudhuri Date: Sat Sep 15 01:45:57 2018 -0500 homebrew: Replace deprecated casks with their brew counterpart Homebrew has deprecated `brew cask cleanup` and `brew cask search` in favor of `brew cleanup` and `brew search` respectively. They will stop working on 2018-09-30. Further, `--outdated` has been removed. We should eventually remove the related aliases, but for a while we keep supporting them gracefully with deprecation warning. The documentation has been removed from README.md, however. commit 2bbf5d0687bf754fff8ab6fcaec70669907aa29b Author: Indrajit Raychaudhuri Date: Fri Sep 14 23:40:08 2018 -0500 homebrew: Load standard Homebrew environment variables into shell session. However, guard for legacy Homebrew as `brew shellenv` is relatively new. commit dd7a26e219b3340567aeeececcf383cfdb371fa0 Author: Yutian Li Date: Sat Sep 15 12:35:48 2018 -0400 [git] Also check "commondir" when looking for a stash (#1620) commit 7bb7a7cb6fe02cce77ad31e91796f84b1a8f1011 Author: Bruce Clounie Date: Sat Jul 21 01:06:31 2018 -0600 Add explanation for extra git theme symbols in README.md Helps with #1589 commit 66487c95329874019d17920390c3101faa9dead7 Author: newtonne Date: Mon Aug 13 02:56:21 2018 +0100 Correct alphabetical order in zprestorc commit f2042a29cc7613e8f797044948b0238916b2a234 Author: Diego Rabatone Oliveira Date: Thu Aug 9 15:25:30 2018 -0300 Update submodules (#1615) This updates the submodules for autosuggestions, completion, syntax-highlighting and the prompts async, powerlevel9k and pure. All submodules that have TAGs/Releases were updated to their latest TAG/release, except for syntax-highlighting because it's latest release/TAG is from more than one year ago, and the project seems to be well maintained but without releases. commit dacef142144aaddd886a2a6898cba506a9ea01b9 Author: Steven Loria Date: Sat Jul 14 09:40:39 2018 -0400 Improve startup time by skipping pyenv rehash After profiling startup time, I found that "pyenv rehash" is by far the slowest piece. This change skips rehashing on init. See https://github.com/pyenv/pyenv/issues/784#issuecomment-404850327 Also pass the shell explicitly, as suggested in https://github.com/pyenv/pyenv/issues/784#issuecomment-404944318, which provides a modest improvement. In total, this improves startup time from 1s to 0.3s on my machine. Using the following command: python -m timeit "__import__('subprocess').Popen(['zsh', '-i', '-c', 'echo']).communicate()" Result before this change: 10 loops, best of 3: 1 sec per loop Result after this change: 10 loops, best of 3: 334 msec per loop commit e064d5c65f49b5eae3c083c14b57b58dfe996a14 Author: Michael Kohl Date: Wed Jul 18 15:08:21 2018 +0700 Make node-info work without nvm/nodenv commit 152b4a1b5d61905b60134869d9ba854465ea53d9 Author: Tharre Date: Sat Jul 28 18:33:24 2018 +0200 Fix broken gitref link in README.md gitref.org points to services.github.com, and has been for some time[0]. [0] https://github.com/git/git-reference/issues/112 commit e149367445d2bcb9faa6ada365dfd56efec39de8 Author: Colin Hebert Date: Wed Jun 27 09:28:04 2018 +1000 coreutils: update list of included coreutils (#1592) commit cd7082299467a26d443e597f1fd2f02506a45a6a Author: Indrajit Raychaudhuri Date: Tue Jun 26 13:43:27 2018 -0500 completion: Compact path to global ssh known hosts file commit 0d6e7de0312366322bf7e7e1dbb41697b5bcd3b1 Author: Kaleb Elwert Date: Mon Jun 18 14:16:36 2018 -0700 syntax-highlighting: Update README to clarify module load order Fixes #1584 commit b11b9ce788dbe389bd6c7984748de243b43b46bd Author: Alexander Neumann Date: Thu Jun 14 15:42:45 2018 +0200 Fix path to global ssh known hosts file The path to the global known hosts file is /etc/ssh/ssh_known_hosts, not /etc/ssh_hosts. commit d4332e2faf420f73ada88397bee95dc4f1da6b97 Author: Andrew Janke Date: Fri Jun 1 03:36:21 2018 -0400 Fix spelling error in CONTRIBUTING.md (#1590) commit 92e668e1d92e01e599c79db939e386b60bb33e4a Author: Christopher Bowns Date: Tue May 22 18:44:57 2018 -0700 Remove zlogout's Apu quote (#1583) * Remove zlogout's Apu quote For questions about why, see https://en.wikipedia.org/wiki/The_Problem_with_Apu * Add a couple of random sayings per feedback in #1583 commit 3d911cd51189c806d8e2b1a3b8b83f7fcbd56aec Author: Jeff Widman Date: Sun May 20 13:48:14 2018 -0700 Document `gpf` vs `gpF` Document the difference between `gpf` and `gpF`. These were changed in https://github.com/sorin-ionescu/prezto/pull/1040 / https://github.com/sorin-ionescu/prezto/commit/ddfc870f9aae4f43da10863a175cee2c91485cde, but never documented. commit ae23bedd24268778eb8e66c8aaea740d64f3d2f3 Author: Jeff Widman Date: Sun May 20 14:06:54 2018 -0700 Document macOS support for `command-not-found` Document macOS support for `command-not-found` commit 2995b7d0c89d628a68ea789e21ea8f26ea8fa4d9 Author: Casey McGinty Date: Sun May 6 13:19:35 2018 -0700 Update cache files when .zpreztorc file is modified Fixes #1581 commit 6e179f24ab606f5c38d12b333771b4ba6b087eba Author: Casey McGinty Date: Mon Apr 30 22:22:10 2018 -0700 Export VIRTUAL_ENV_DISABLE_PROMPT when enabling virutalenv Adding `export` ensures the define is available in the shell so pyenv or virtualenvwrapper do not duplicate the virtualenv name on the prompt. commit f8f93d4b91ba59a3323baf0a1ed91c6c33da72b8 Author: Kaleb Elwert Date: Sun Apr 29 17:39:25 2018 -0700 command-not-found: Directly source homebrew command-not-found handler Fixes #1577, Fixes #1451 commit b6b43eb331a893d9a278c278b20534a2ca07aed0 Author: Ashish Gandhi Date: Mon Apr 16 15:51:57 2018 -0700 Rename "Mac OS X" to "macOS" in comments This only changes references in text for human consumption. It leaves out renaming paths because that can cause breaking changes. Related issue https://github.com/sorin-ionescu/prezto/issues/1449. commit 300102897a4710e1559e4435c686f794d126d3c3 Author: Kaleb Elwert Date: Fri Apr 6 11:35:39 2018 -0700 Add proper prompt_opts to smiley prompt commit 054eb351f1d7d92d810259e3a5fbfd9e025b2d08 Author: Kaleb Elwert Date: Fri Apr 6 11:33:02 2018 -0700 Revert "Only call reset-prompt when the appropriate zstyle is set" This reverts commit 6d00fdf8c8e4003a89d622590265d80356a7a95f. As unfortunate as it is, this workaround was a hack and doesn't take into account prompts like spaceship which don't use $editor_info but rely on $KEYMAP directly. We'll need to find a more consistent solution to fix this. commit 1b441e7654b6b1c8e766d68d548abd7e5597604e Author: François VANTOMME Date: Thu Apr 5 00:20:21 2018 +0200 Feat (git): add an alias displaying the commits yet to be applied to upstream (#1565) commit 443021237a38e04522bb76f77c3f146d64edba29 Author: Kaleb Elwert Date: Fri Mar 30 17:47:05 2018 -0700 Allow users to easily define LS_COLORS and LSCOLORS (#1546) commit a0977cb92e0e4a8483bd256a472119451cf3e933 Author: Roman Peshkov Date: Sat Mar 31 02:37:05 2018 +0200 Ignore tmux autostart in vscode terminal commit b3c27bb16460c677eabbe3d8e210f79fb5e8189b Author: Diego Rabatone Oliveira Date: Mon Mar 5 05:56:25 2018 -0300 Replace git with 'command git' (#1551) to improve performance if git is aliased to hub or other wrappers. commit e00562e7cf20c48a255212a088ab134ea0c6a543 Author: bryndin Date: Fri Feb 23 13:39:45 2018 -0800 python: autoload add-zsh-hook when needed (#1549) Fixes #1550 commit 742260b55f3071352776e51d8e83544db62a37a9 Author: Kaleb Elwert Date: Wed Feb 21 14:10:11 2018 -0800 Remove support for pydf to make options more consistent Closes #1388 commit 580ddc44f3c567202670f62047cc1edb2e0d09ab Author: Philipp A Date: Fri Sep 25 12:38:12 2015 +0200 Add another shadow to the git aliases Originally submitted in https://github.com/sorin-ionescu/prezto/pull/979 commit 4325f74f9dfc83d01409c78fd126a5d29f0a3a55 Author: Rick Jones Date: Tue Mar 8 16:00:29 2016 +0000 git: add tag aliases Originally submitted in https://github.com/sorin-ionescu/prezto/pull/1094 commit 6d00fdf8c8e4003a89d622590265d80356a7a95f Author: John P. Neumann Date: Tue Feb 20 22:36:29 2018 -0600 Only call reset-prompt when the appropriate zstyle is set Resolves issue #1524 (#1548) commit e26387656d833ae7321c06415a65118af08b6d89 Author: Alexey Zapparov Date: Mon Feb 12 04:28:51 2018 +0100 Don't double-source chruby If chruby was installed using default way, most likely chruby and auto-switching will be already sourced (at least on most Linuxes). commit d7622624aaddab6ee34c66efba4f83860a6fa622 Author: Kaleb Elwert Date: Sat Feb 17 08:06:34 2018 -0800 autosuggestions: add basic history troubleshooting information commit 282b478fd2eb6658c063d4f32b9856201e5b886c Author: Kaleb Elwert Date: Fri Jan 26 18:14:10 2018 -0800 Add vi-pound-insert as # in vicmd mode Fixes #1534 commit 904eef5fa5152f6d3b12fc1d0d7c0b7af5818e84 Author: Kaleb Elwert Date: Fri Jan 26 14:52:11 2018 -0800 Add `pound-toggle` zle widget to work around the buggy built-in `pound-insert` Refs #1533, #1534 commit 906ac99e203a5b193b0df78b6c53819e0cf56ab1 Author: Kaleb Elwert Date: Thu Jan 25 12:41:58 2018 -0800 Move INTERACTIVE_COMMENTS from editor to environment commit 0b62639ad5ede91f118f427f70e21a47dda5bdd4 Author: Maxim Baz Date: Thu Jan 25 20:59:21 2018 +0100 Set INTERACTIVE_COMMENTS by default This allows using # to comment lines in the interactive shell commit 54d2a76731041ccefd0f19e17fd87e970081cea7 Author: Kaleb Elwert Date: Wed Jan 24 14:01:14 2018 -0800 pacman: fix mistake where aurutils should be used, not aurtools commit e32a96be72a2a6708c90e91f17036cfbc3ef270d Author: Kaleb Elwert Date: Wed Jan 24 13:47:20 2018 -0800 pacman: Simplify support for AUR helpers There are a number of things happening here. - Extra support for yaourt has been removed - Docs have been updated to explicitly call out that AUR helpers are not officially supported - aurutils has been suggested to make common operations easier - A utility function called aurget (similar to aurfetch from aurutils) has been added to make cloning AUR repos easier. Fixes #1531 commit 73e94b84bbe9bebfe612438507a53885485938cb Author: Salmanul Farzy Date: Sun Jan 14 14:15:28 2018 +0530 Don't set auto_name_dirs because it messes up prompts This was ported from Oh-My-Zsh and since have been disabled in it. Explained in more detail rvm/rvm/issues/3091#issuecomment-60083194 Related: #998, #1081 commit 82d3265ad510f366a09ee43aa83973a2a02f644a Author: Kaleb Elwert Date: Mon Dec 18 13:35:19 2017 -0800 utility: remove usage of noremoteglob until bugs can be fixed Fixes #1443, #1521 commit 66bfe9be27a1e63cd4bf8ae1e802b10a3068bd07 Author: Kaleb Elwert Date: Thu Dec 14 22:26:13 2017 -0800 autosuggestions: ensure external submodule is the latest version commit 83085e523142357167b854eb6b0c8c6acdbe506e Author: Kaleb Elwert Date: Thu Dec 14 17:23:40 2017 -0800 python: remove zstyle setting in favor of third party environment variable Refs #1519, #1520 commit 4c31107e3b21e399790b2577efab0ef537b2ecc4 Author: Kaleb Elwert Date: Thu Dec 14 17:11:03 2017 -0800 python: only override virtualenv python if not set Fixes #1520 commit d8d6b4d70a09cb78eab6f524e1e448a2a84cc155 Author: Kaleb Elwert Date: Tue Dec 12 23:11:51 2017 -0800 python: only override virtualenvwrapper python when needed Fixes #1519 commit e021adeb4a628387e853004427e3ea373207ee5a Author: Kaleb Elwert Date: Mon Dec 11 11:01:40 2017 -0800 python: make a reasonable guess about virtualenvwrapper python location Fixes #1416 commit aa0395244d3136b5c7b3495feb5c39beaff4206e Author: Brian K. Christensen Date: Thu Dec 7 09:19:47 2017 +0100 Update zsh-autosuggestions to v0.4.2 commit 3ab569ff786c324a0c597c1d1cff44491565d0f8 Author: Kaleb Elwert Date: Mon Dec 4 15:08:58 2017 -0800 python-info: add support for pyenv and only do extra work if the prompt needs it commit 3a0bd28e0cccf07fd4acda74b92e5793f7cb4839 Author: Kaleb Elwert Date: Mon Dec 4 15:08:23 2017 -0800 ruby-info: only run commands if the prompt needs the info commit 64d57ec71f3d97928e633d530a0e4d1439757fb7 Author: Kaleb Elwert Date: Mon Dec 4 12:08:45 2017 -0800 python-info: avoid setting python_info[version] if python is not on the PATH commit b407ba0c3ae69fc606cff6bf55c50c2c117f3cf0 Author: Kaleb Elwert Date: Mon Dec 4 12:01:07 2017 -0800 python-info: provide python version info for theming Closes #1173 Closes #958 commit e2785cc2469f87bad0376265778f87b6904efecb Author: Joel Kuzmarski Date: Tue Aug 23 10:31:34 2016 -0500 Better TTY logic for zlogin and zlogout commit 029414581e54f5b63156f81acd0d377e8eb78883 Author: Kaleb Elwert Date: Sun Dec 3 00:41:25 2017 -0800 Add support for loading plugins in the oh-my-zsh format Closes #1484 commit 7cdde9b631fffd25ed0c91aaaf5180b86d832038 Author: Kaleb Elwert Date: Fri Dec 1 14:51:05 2017 -0800 pacman: Update README to recommend pacaur over yaourt commit 8ed2c78de8d5094f9bc394c6cfd4e4c843420f0e Author: Kaleb Elwert Date: Fri Dec 1 10:55:54 2017 -0800 editor: Avoid prompt redisplay on completion when there is no indicator Refs #1512 commit 043d09bbfe0c22656aa68819640d7fc323c8ba79 Author: Indrajit Raychaudhuri Date: Fri Jul 7 17:04:30 2017 -0500 [git] Support short-code and improve completion in 'git-hub-shorten-url' Changes: - Add optional short-code support - Improve completion for github.com URL (`http(s)://*.github.com` only) - Return with non-zero exit code appropriately commit df3468e957e9d171a81a7e8646714abd9d248ab0 Author: Kaleb Elwert Date: Tue Nov 28 15:10:13 2017 -0800 Update zsh-async to v1.6.0 commit 65bcbae8bc2731f5e07690eb339c40c82fe9a855 Author: Kaleb Elwert Date: Tue Nov 28 09:19:35 2017 -0800 Update zsh-autosuggestions to v0.4.1 commit 64d6ae805ce8a02fda4f69ae90c757eba68acb5a Author: Denys Digtiar Date: Tue Nov 28 14:19:01 2017 +1000 Source correct module's `init.zsh` Now that modules can be located in different directories, the `init.zsh` should be loaded from the `$module_location` and not `$ZPREZTODIR/modules/$pmodule` commit 221c6cd1283654ba77db052ee27aef613395321c Author: Kaleb Elwert Date: Tue Nov 14 00:34:19 2017 -0800 Remove BRACE_CCL as default Fixes #1162 commit cbe48151896ef0f37ee2556eb4546198dee1ed60 Author: Yutian Li Date: Mon Nov 13 16:41:54 2017 -0800 Allow module to be a symbolic link to a non-empty directory (#1510) commit a3f40a7479c0161175ed8aa454897d326c739e9d Author: Kaleb Elwert Date: Sun Nov 12 17:54:49 2017 -0800 Fix README formatting commit d725233bb1be2db83cbd6ee2a7aea5ef62ca90d1 Author: Kaleb Elwert Date: Sun Nov 12 17:53:10 2017 -0800 Add basic documentation on external module directories commit 2436806fce90c9c6dec5172cc77eaa4b06f58307 Author: Indrajit Raychaudhuri Date: Thu Jul 20 22:58:29 2017 -0500 [utility] Simplify enabling 'diff' color conditions in wrapper function Nested `if` can be removed for simple cases like these. Also, doc cleanup. commit 96bbb31cc814d415d974bf0229aa88f3215ce481 Author: ickc Date: Sun Nov 12 16:20:52 2017 -0800 Added conda virtualenv support to python module. (#1505) * Added conda virtualenv support to python module * Added instructions for Python module options to README Thanks to @egpbos for the original feature and @ickc for fixing the merge conflicts. commit ce349dff81c6ca1f636c3ca9118d4d60b56617cd Author: Kaleb Elwert Date: Sun Nov 12 16:01:39 2017 -0800 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 commit ad79f78fbe143e38be421733713e562eccca018b Author: Kaleb Elwert Date: Sat Nov 11 20:56:59 2017 -0800 prompt: fix async usage in sorin prompt Fixes #1509 commit e159c1a439a648e2805898fbcd86227fa701ec0f Author: Kaleb Elwert Date: Sat Nov 11 15:18:31 2017 -0800 prompt: update sorin prompt async usage to be closer to pure commit f02dc1af5729db6749b4d9d71b8066036dfcec63 Author: Kaleb Elwert Date: Fri Nov 10 12:23:37 2017 -0800 gpg: potential fix for #1252 commit 105e9658bb7a907b8f1d6080dc07aecb5058592d Author: Kaleb Elwert Date: Fri Nov 10 11:54:51 2017 -0800 gnu-utility: avoid overriding shell builtins Fixes #1263 commit 948d9b3aa51f9bbf320649801565dc9164181e5c Author: Kaleb Elwert Date: Fri Nov 10 11:37:11 2017 -0800 Store cache files in a user-writable location Fixes #1122 commit 79927ac73ad69e1cf69c1ee92a0fbd34e54321ac Author: Kaleb Elwert Date: Fri Nov 10 11:06:50 2017 -0800 editor: Fix Home and End in vicmd mode Fixes #1160 commit 485ad9e704d9c912922cdabd951e1e0ec185ddc2 Author: Kaleb Elwert Date: Fri Nov 10 10:38:15 2017 -0800 Add Alternatives section to archive module README (Fixes #705) commit c7dcd21c9e557ca243bc213a711a18a7f38d5d56 Author: Kaleb Elwert Date: Thu Nov 9 13:55:20 2017 -0800 Don't show ruby info if using system version Based off https://github.com/chauncey-garrett/zsh-prezto/commit/a8fe1b3cb42c2a44349fa373ade5b46d5b9a57ee by @chauncey-garrett commit 7ebb5e9ddaedf15bd261772119268076f8965489 Author: Kaleb Elwert Date: Mon Nov 6 11:58:05 2017 -0800 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: https://github.com/Eriner/zim/commit/537f07660376f6fd0b8103ee993bfc132ddcee90#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 commit ff9b9013947f210bc121018ea7911f621c1f791b Author: François VANTOMME Date: Thu Nov 2 01:00:32 2017 +0100 Set key binding (^space) to expand all aliases including global (#1500) commit 4b0ecffacadec6c9553be894cdcd36ecafac7662 Author: Kaleb Elwert Date: Sun Oct 29 23:32:11 2017 -0700 prompt: update pure to 1.6.0 Refs #1487 commit 87d39f5dd2965d38bd9b66fd31e5d6b4593f53ed Author: Parth Laxmikant Kolekar Date: Thu Oct 26 22:54:26 2017 +0530 Update init.zsh It seems that my older git does not support '@' yet. commit cbcbedd69456376afec55881ef1beee1394eac87 Author: Kaleb Elwert Date: Tue Oct 24 12:52:32 2017 -0700 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. commit 109864429cea5763e57c77f060835bfcdbefb09f Author: Kaleb Elwert Date: Wed Oct 18 17:30:16 2017 -0700 ssh: fix loading of ssh identities when none are explicitly defined commit b5d09e2da794086ab5715f3fdda2e9c4b6dd3d9d Author: Parth Laxmikant Kolekar Date: Fri Oct 20 23:08:48 2017 +0530 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. commit fb903cb0677f938a7c46a7e4aef92ad677593eb2 Author: Jeff Widman Date: Tue Aug 29 15:56:04 2017 -0700 Document support for macOS This adds docs for b0c85eddf6bee4d75ca9920c9c6180ab7ff1962a which was added in https://github.com/sorin-ionescu/prezto/pull/1376/ commit 6d5650eae78ca05256e4bad5e66b47aec1758b40 Author: Manoel Vilela Date: Sat Oct 14 06:50:50 2017 -0300 [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. commit 25d8db301d5939040ff4aa6e7211d27e74f2d0d9 Author: Kevin Kirsche Date: Mon Oct 9 14:13:00 2017 -0400 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. commit 63310f6403474e8b5c586627edf97b16c6e41aa4 Author: Kaleb Elwert Date: Wed Oct 4 11:27:55 2017 -0700 ssh: update SSH_ASKPASS workaround to more closely match what ssh-add needs Fixes #1478 commit 1d0bee60989602c921251ab259327a2cf11b90d3 Author: sergiorussia Date: Tue Sep 19 10:38:24 2017 +0300 Fix README.md for autosuggestions and history-substring-search (#1471) commit 9520f1be6f8ef13cdf599df09a286d21ec034dc7 Author: Nicola Corna Date: Tue Sep 19 01:27:31 2017 +0200 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. commit cd703d3c3c094e21fe2ce142601063f2920b479f Author: Greg Anders Date: Thu Aug 24 22:06:23 2017 -0500 Add make to gnu-utility commands commit 752f64f0852d369ab0970301fa55a565805df21e Author: Samantha McVey Date: Fri Sep 8 22:08:02 2017 -0700 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. commit 00f1d92ed838fe7b75949c5eba19419728961b34 Author: Damien Pollet Date: Fri Sep 8 16:07:48 2017 +0200 Fix typo in zprezto-update function commit 34d4897d0e4573aee17bfdf5d564f16aeb94de86 Author: Andrew Breckenridge Date: Wed Sep 6 17:01:42 2017 -0700 Updates outdate Mac OS X to macOS commit 3faaffe7e9de25d5c05b3b88c3d65d29b914139e Author: Diego Rabatone Oliveira Date: Wed Sep 6 10:03:48 2017 -0300 Updating submodules Updating `completition`, prompt `async` and `syntax-highlighting`. All modules where checkout to their latest tag. commit 34482cb325cfe8521f9dd462e956faf14d2d0ad8 Author: Kaleb Elwert Date: Wed Sep 6 11:18:09 2017 -0700 prompt: add documentation for return value display commit 2cfd366ba6fafbbb47215a45bc9629f709376e94 Author: Samantha McVey Date: Wed Sep 6 11:14:35 2017 -0700 [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` commit 808d9d3579270898b17b7dbf9d1ec91145aefd03 Author: Samantha McVey Date: Wed Sep 6 11:11:19 2017 -0700 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. commit 76388a8cd11a858093b052fec04d7924d366af62 Author: Antoine Rahier Date: Thu Aug 31 21:09:34 2017 +0200 Pin powerlevel9k submodule to latest release (v0.6.4) commit 6a8f1c6b16b7a8203ec8bc00628aa72dde669fdc Author: Antoine Rahier Date: Thu Aug 31 13:46:03 2017 +0200 Add powerlevel9k theme commit ba0cb8afd8c16b37f30c2e945400c836cfeb2148 Author: Jeff Widman Date: Tue Aug 29 15:00:41 2017 -0700 Add missing highlighter to readme This was added to `.zpreztorc` in 4f19700919c8ebbaf75755fc0d03716d13183f49 but forgot to add it here. commit 46de6fef773e1e02cc9550e5a8bf2a705e7d8e4d Author: Jeff Widman Date: Tue Aug 29 16:13:38 2017 -0700 Swap italics to code formatting and add hyperlink commit 37c61a058c8ebbd98739505889f9f24f02e90a39 Author: Jeff Widman Date: Tue Aug 29 16:28:19 2017 -0700 Document that `fasd` is now bundled with prezto Document that `fasd` is now bundled with prezto (19990c80252a588ef0983fe16c2f001391775af8) and that it's a fallback to a manually installed version (04bfb5131b63c626062af535a1c429f9ff303ca4). commit 38fb41d66ed6cfa69e337e987977046dcbd5f1d5 Author: Jeff Widman Date: Tue Aug 29 16:40:17 2017 -0700 Use backticks rather than italics for paths This is more typical with what I observe elsewhere commit 727f094b0fa8ca26f461a14200b1c241b8801c3a Author: Jeff Widman Date: Tue Aug 29 16:47:06 2017 -0700 [python] cleanup readme formatting Anyone want some backticks? :-) commit 8fa14ed72f58d14cc1d11a4b2a59edecd90188bc Author: Jeff Widman Date: Tue Aug 29 16:04:44 2017 -0700 Drop `easy_install` in docs, everyone now uses `pip` (#1436) commit 58bcc43bf99ae01fac2e551c58d46dbb078ac77b Author: Jeff Widman Date: Tue Aug 29 15:10:37 2017 -0700 Fix typo commit 98f37b3c2faf09b3d0b2387eacd40ff1c497bcde Author: Jeff Widman Date: Tue Aug 29 14:13:39 2017 -0700 Update reference to Bombich's rsync commit a7fb175b20e89a17a4999681e34be35345f5652b Author: Foo Chuan Wei Date: Mon Aug 28 22:17:45 2017 -0400 Fix English mistakes in the autosuggestions module README.md (#1444) * Change 'conjuncture' to 'conjunction' * Fix ambiguous pronoun references commit 9c528efa607053eac234839e625cf5c3ec71751b Author: Greg Anders Date: Sat Aug 26 11:16:09 2017 -0500 Explicitly set PYENV_ROOT commit 83ab314b77d7e6bd92b7aed6275ad03018b378c1 Author: Indrajit Raychaudhuri Date: Thu Aug 17 22:53:25 2017 -0500 [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. commit 5ffc8a07f1a89146b7953b77569a3c50b0146889 Author: Indrajit Raychaudhuri Date: Fri Aug 18 07:55:34 2017 -0500 [python] Ensure availability of virtualenvwrapper file before sourcing it commit cab4ac54ece92bb6793c255fe2dc1851586a916e Author: Jeef Date: Mon Aug 7 19:03:02 2017 -0400 Update prompt_sorin_setup Addressing a type - and switching from a custom orange to yellow (from default color list) for prompt. commit 4c272a20f612ed81543ccb893ad3bc9d8bb76828 Author: Jeef Date: Mon Aug 7 15:17:51 2017 -0400 Update prompt_sorin_setup Moved ` ` after the virtual env info into the `zstyle` call and out of `RPROMPT` commit 5b244eeadbfbd30b81fcd433f3e51072996c27c6 Author: Jeef Date: Mon Aug 7 15:02:20 2017 -0400 Update prompt_sorin_setup Added python support commit 3194442759d40e8b577615918340db332a3df589 Author: Zach Whaley Date: Thu Aug 17 15:37:08 2017 -0500 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 commit 9dfa8a67f6a4d667a8071eada5bce97f72737c5d Author: Jeff Widman Date: Wed Aug 16 14:57:54 2017 -0700 Fix typo commit e6af5f2e91199517bbcc486bd08a893cb80e0828 Author: Jeff Widman Date: Wed Aug 16 11:47:58 2017 -0700 Fix typo commit dd1133d32eb559c66aa3b1f2aee8ad44a7e28942 Author: Kaleb Elwert Date: Thu Aug 10 16:23:53 2017 -0700 prompt: remove unneeded prompt_opts from smiley prompt commit 2f867d6f22c5ca2e1855d7fa13e890c0f272f769 Author: Kaleb Elwert Date: Thu Aug 10 16:21:46 2017 -0700 Revert "prompt: remove prompt_sp from prompt_smiley_setup as it is not needed" This reverts commit 24e5e49ff299dab1e3f854c89009270fc8580e5c. commit 24e5e49ff299dab1e3f854c89009270fc8580e5c Author: Kaleb Elwert Date: Thu Aug 10 13:39:49 2017 -0700 prompt: remove prompt_sp from prompt_smiley_setup as it is not needed commit 730fc4690e308208f591798ef992b9bb2f9e2134 Author: Kaleb Elwert Date: Thu Aug 10 11:23:26 2017 -0700 prompt: add sp option to prompt_setup functions This was a change in zsh 5.4.1 where prompt_sp is now reset on calls to prompt, unlike previous behavior where it was set by default. This restores the previous default behavior. Refs #1423, but is not a complete fix because we need to wait for external prompts to update as well. commit 5e295b0835a724d0e94b5dc2aa9dbf17feacf70a Author: Indrajit Raychaudhuri Date: Wed Aug 9 15:07:38 2017 -0500 [prompt] Remove spurious duplicate section Remove duplication 'Prompt Display Length' section. Also, adjust wrapping for `~`. commit 8d7e3e27c7577175330241f0279a805c471d3bf8 Author: Indrajit Raychaudhuri Date: Fri Aug 4 09:53:01 2017 -0500 [python] Detect availability of virtualenv plugins as well as pyenv Just having 'pyenv' available doesn't imply availability of virtualenv pyenv plugins. Check for availability of virtualenv plugins as well before attempting to use pyenv wrapper for virtualenv. commit a60499f933c52f55dbb9c9f2f7d99cb82c3538de Author: Indrajit Raychaudhuri Date: Fri Aug 4 12:54:19 2017 -0500 [general] Miscellaneous cleanup and formatting commit 7b5196ca66a28c3555f3ab32b911d009277d49bd Author: Mauro Locatelli Date: Thu Jul 27 11:39:22 2017 +0200 ssh: check ssh-askpass presence under Linux Check the presence of `ssh-askpass`, if `/usr/lib/ssh/x11-ssh-askpass` is present I use it otherwise I require the passphrase in the standard method commit 3f556400e70a8003a484836b5c5d4a384468d1ca Author: Kaleb Elwert Date: Fri Jul 28 10:24:45 2017 -0700 Avoid setting TMPDIR and make sure all modules handle that properly Fixes #1206 commit b3c7d21d31ba3f5b1444b1d20066377aae898542 Author: Indrajit Raychaudhuri Date: Fri Jul 28 00:43:29 2017 -0500 Adjust GitHub templates with commented lines commit 591d087ccc85e02e5321fa988bf2f7ecdd076839 Author: Indrajit Raychaudhuri Date: Thu Jul 27 12:04:55 2017 -0500 [completion] Allow ignores for '/etc/hosts' entries to be dynamic By keeping the variable `_etc_host_ignores` around, it can be resolved lazily which is turn should allow selective ignores on a per invocation basis. Also, `'\#'` doesn't need to be added to `_etc_host_ignores` anymore. It is enforced inline. commit 9b6bf4a7cd0f05600fd5ea9c60d330136aebc666 Author: Indrajit Raychaudhuri Date: Wed Jul 26 15:16:40 2017 -0500 [completion] Support ignoring '/etc/hosts' entries in host completion Entries from static '/etc/hosts' can now be ignored via 'zstyle' based configuration. Both IP address and corresponding hostname will be ignored during host completion. However, some of the entries ignored from '/etc/hosts' still might appear during completion because of their presence in 'ssh' configuration ('~/.ssh/config') or history ('~/.ssh/ssh_hosts', '~/.ssh/known_hosts' etc.). commit 19435b16eaf9af357da0bf547ded114f798d87ae Author: Indrajit Raychaudhuri Date: Mon Jul 24 19:34:11 2017 -0500 [python] Improve and document `virtualenvwrapper` initialization flow Changes: * Simplify zstyle name `skip-virtualenvwrapper-init` to `initialize` avoiding double negation in name * Always perform `eval (pyenv virtualenv-init -)` at initialization * Prefer `virtualenvwrapper_lazy` over `virtualenvwrapper` when available * Honor `VIRTUALENVWRAPPER_VIRTUALENV` if it is defined. * Document about `VIRTUALENVWRAPPER_PYTHON` and `VIRTUALENVWRAPPER_VIRTUALENV` (this would be particularly important in macOS after recent homebrew update) * Add additional documentation for `initialize` in _README.md_ and _zpreztorc_ * Add aliases `py2`, `py3` as shortcut for `python2`, `python3` respectively commit 7e7124e84a0fed90333065f7b6ce2a4dbf49cd1a Author: Kaleb Elwert Date: Tue Jul 25 14:15:04 2017 -0700 Update agnoster prompt to include security fix Fixes #1267 commit 09fe5191e7fc31884e4de934498c78d832ab03dd Merge: e364eac 0fc49ac Author: Jeff Widman Date: Tue Jul 25 03:08:45 2017 -0600 Merge pull request #1404 from sorin-ionescu/jeffwidman-fix-typos Fix typos commit 0fc49ac4f0daba372ccc2162e97d284eaff15cd2 Author: Jeff Widman Date: Tue Jul 25 03:07:59 2017 -0600 Fix typos commit e364eac8f567376c602d7a992c6aa293d310f249 Author: Stephen Larew Date: Sat Jul 22 11:55:34 2017 -0400 ssh: update README to reflect macOS changes commit 9bdc1b35d51407515edb5e82dd3f8635fd771511 Author: Kaleb Elwert Date: Mon Jul 24 11:55:02 2017 -0700 Migrate sorin prompt to zsh-async (#1385) This includes some improvements by @indrajitr in addition to the main migration. The first step was to avoid PROMPT and RPROMPT modification when possible (which may help resolve some other issues as well relating to zsh crashes with the sorin prompt) then update the displayed git information in a separate variable rather than a command. We use zsh-async for creating and running background tasks. The sorin prompt uses it to update git info without blocking the prompt from displaying (because of how long it can take). In the future it may be worth moving more tasks and more prompts to using this. The move to zsh-async does make the git prompt slower in some circumstances (most noticeable in large repos), but this is a worthwhile tradeoff to avoid the cache file which had a number of potential security holes. We have also switched to adding zsh-async as an external submodule (rather than the version bundled with pure) which may cause some migration headaches, but it will be worth it in the long run. commit 9f1a41de9015e89c5553289173e2e1a7e5a0b35d Author: Samantha McVey Date: Mon Jul 24 04:00:54 2017 -0700 Fix unbound keys in vicmd/viins mode Previously I made a change to try and bind these unbound keys to the main keymap in thoughts that in vicmd or viins mode it would fallback if it wasn't bound in vicmd/viins mode. This turned out not to be the case. Explicitly bind the keys in both viins and vicmd mode as works properly. commit d6276e80254ddb42bc7263b67a8b73e0f2e52999 Author: Indrajit Raychaudhuri Date: Sat Jul 22 17:43:39 2017 -0500 [osx] Support custom keyword used by `mand` to open man pages in Dash.app `zstyle` based customization is now avaialble in *zpreztorc*. commit 8846db9d4d35758e91a427bca17120d216be99de Author: Indrajit Raychaudhuri Date: Sat Jul 22 23:42:51 2017 -0500 [node] Always quote files when `source`-ing commit eddbdd941656b591b27a554b119f16b3f01ef2c1 Author: Indrajit Raychaudhuri Date: Sat Jul 22 14:09:20 2017 -0500 Update submodules URLs to use git URLs explicitly Even though GitHub redirects git calls based on user-agent, using git URLs consistently is preferable. commit 24b710f5455bb2218eed6777715d3f377d459282 Author: Indrajit Raychaudhuri Date: Sat Jul 22 13:56:32 2017 -0500 [general] Fix incorrect fenced code indentation commit a60fe47359fdef9cbf4798690e66efe973aab363 Author: Indrajit Raychaudhuri Date: Mon Jul 17 00:15:45 2017 -0500 [utility] Refactor rsync_scp wrapper function and add completion support Changes: - Rename `rsync_scp_wrap` to `noremoteglob` and make it more generally usable - Enable completion support for commands wrapped with `noremoteglob` - Tighten up internal variable usages - Update documentation for 'noremoteglob' function commit 17a59bada7d66461584349169d8f65ee606b1a33 Author: Indrajit Raychaudhuri Date: Thu Jul 20 19:08:19 2017 -0500 [prompt] Rename helper function `promptpwd` to `prompt-pwd` for consistency Changes: * In prezto, function names are hyphenated ('-') by convention, rename `promptpwd` to `prompt-pwd` accordingly. * Unset local variable `current_pwd` proactively. * Tweak additional documentation for `prompt-pwd`. commit ac628c9059af11a905240bd6c9500ea1d352032a Author: Indrajit Raychaudhuri Date: Thu Jul 20 20:07:29 2017 -0500 [general] Switch code block formatting to use fence formatting Changes: * Indented code block doesn't support syntax highlighting, use fenced formatting (```) instead for better syntax highlighting * Wrap commands/functions in backticks * Typo fixes commit bcbaea27aff98abcc7ba8d5088b2215977cd8597 Author: Indrajit Raychaudhuri Date: Sat Jul 22 13:01:43 2017 -0500 [python] Detect actual `pip` command available for generating completion cache We cannot always assume availability of `pip`, it can be `pip2` or `pip3` instead. We detect the first available one and use it for generating the completion cache. commit 608f291ad3c5955f4b6c413adbef2b0a820ef65e Author: Indrajit Raychaudhuri Date: Thu Jul 20 23:11:00 2017 -0500 [utility] Reuse interactive aliases when 'safe-ops' is set When `safe-ops` is set, we can reuse the aliases that are already available. commit 2db7f62c2b1ad2199e6e1a20369c62dd35e4b625 Author: Kaleb Elwert Date: Wed Jul 19 10:41:39 2017 -0700 [homebrew] Add documentation for brewo and casko commit 46e34d30b8648cbd9309e05a657588aa8962fccf Author: Karim Benbouali Date: Wed Jul 19 10:28:58 2017 +0200 module(homebrew): add outdated options for cask and brew commands commit cb4be65d290e58917fc471281b3c06b6507a7d42 Author: Indrajit Raychaudhuri Date: Mon Jul 17 01:14:26 2017 -0500 [utility] Update documentation for 'safe-ops' Update formatting and wordings to be more consistent with rest of prezto documentation. commit f236344fc8929d63c576ccfb2e4909d9b6647a97 Author: Indrajit Raychaudhuri Date: Sat Jul 15 00:53:22 2017 -0500 [utility] Remove premature call to `compdef` This is a temporary fix to work-around a minor regression in 90071d3. commit 90071d3ad062c4969b1d2e8512e9238524b90981 Author: Kaleb Elwert Date: Fri Jul 14 13:28:29 2017 -0700 utility: fix completion for rsync and scp commit c1a8fc0469312d4f2ee505a487964509bcf0e8cc Author: Indrajit Raychaudhuri Date: Thu Jul 13 16:41:33 2017 -0500 Cleanup spurious whitespace commit b0c85eddf6bee4d75ca9920c9c6180ab7ff1962a Author: Indrajit Raychaudhuri Date: Thu Aug 4 15:57:16 2016 -0500 [command-not-found] Load brew 'command-not-found' if homebrew tap is available Homebrew has _official_ tap that supports `command-not-found`. Enable it when possible. commit 04bfb5131b63c626062af535a1c429f9ff303ca4 Author: Kaleb Elwert Date: Tue Jul 11 12:42:55 2017 -0700 fasd: fall back to submodule only if command is missing commit 19990c80252a588ef0983fe16c2f001391775af8 Author: Demjan Kaluzki Date: Thu Nov 12 23:08:47 2015 +0100 Add fasd as an external module commit d25b251ef7fca67320e2a65f05b4a912c133a19e Author: Zhiming Wang Date: Sun Jan 17 13:22:54 2016 -0800 git: Add revert to special action contexts revert is very similar to cherry-pick and has a sequence variant. commit 0f3a5f745e3dd66449f49b4defc101c5ea597a37 Author: alan blount Date: Tue Jul 11 15:15:24 2017 -0400 Detach from tmux if attached, before attach (#1088) If you are in a tmux session, and auto-start is enabled Then you `sudo su` and then `su ` it will re-attach, in a loop. This resolves that problem, by forcing a detach before a (re)attach. commit ebae698f707c667cfd77143a1910246921041d11 Author: Khai Do Date: Thu Jun 22 13:18:16 2017 -0700 change alias to gfcr commit d69070268afed774a055557942154e9cac2b0030 Author: Khai Do Date: Mon Apr 17 22:31:47 2017 -0700 add alias for cloning a repo including all submodules commit 86de7a8d2eae4466a62259b84c0946e57dd18805 Author: Kaleb Elwert Date: Tue Jul 11 12:07:09 2017 -0700 Small editorconfig file cleanup commit 1221e4030d0315f66eb97e8df9add73513fc5624 Author: Samantha McVey Date: Thu Jul 6 14:16:17 2017 -0700 Add a .editorconfig file to setup tabstyle preferences With editors that support it it will setup preferences so that it will use 2 spaces as the indent, except in .gitignore and .gitmodules which in our files use tabs. For more info see http://EditorConfig.org commit 17bc7530ba307a50fd197248b2b0697d2326ef66 Author: Kaleb Elwert Date: Tue Jul 11 11:58:56 2017 -0700 Update documentation on safeops commit aad91beb3c60bab04a09a10fa56c56b469251cd3 Author: Kaleb Elwert Date: Tue Jul 11 11:52:47 2017 -0700 [utility] Move the safeops aliases into their own section and add XXi variants commit 2a75fba6a80b91a764fbd2e25123f69e22554232 Author: Samantha McVey Date: Mon Jul 10 20:40:37 2017 -0700 [utility] Add safe-ops zstyle option to disable safe rm/cp/ln/mv Currently rm/cp/ln/mv are aliased to rm/cp/ln/mv -i so that it will prompt before removing files. Some people would not like this functionality and wish for an easy way to disable it. This adds a new option: zstyle ':prezto:module:utility' safe-ops yes/no It is enabled by default even if zstyle is not set, but can be set to no to disable these aliases. This should resolve issue #205 commit 6e1f4ddd19dca2a02a79658fc8b9f8d230b591d0 Author: Indrajit Raychaudhuri Date: Sat Jul 8 21:27:34 2017 -0500 [completion] Minor cleanup of zstyle completion 'tag-order' De-duplicate common zstyle 'tag-order' for ssh, scp and rsync. commit 7d109fb3fa9de41cbde2d860b2ca4595c3d31f8d Author: Kaleb Elwert Date: Mon Jul 10 10:30:21 2017 -0700 [editor] Ensure unbound_keys is defined as an array Somewhere around zsh 5.1, there was a change which turned typeset (and most likely local) into a keyword. In older versions of zsh, using `local x=()` will cause the () to be treated as a glob qualifier. Fixes #1373 commit 899c176942e8217bb3b61dbea6551ff65031ef4e Author: Kaleb Elwert Date: Mon Jul 10 00:03:36 2017 -0700 python: add ubuntu locations for virtualenvwrapper.sh commit 3f9951902192be04b44ac96c533ffd155b88774b Author: Indrajit Raychaudhuri Date: Fri Jul 7 23:27:18 2017 -0500 Prefer evaluation over test for arithmetic expression Usage of `(( ... ))` over `[[ ... ]]` is preferred for arithmetic expression since the former is less error prone. Also, unset local variable whenever possible. commit e3520b737f8f6b908e3fc62934ede1a75a16e32b Author: Samantha McVey Date: Fri Jul 7 12:50:53 2017 -0700 [editor] Fix undefined results with unbound keys in viins/vicmd Bind the remaining unbound keys in the main mode so that they don't result in undefined functionality when pressed. (Often this will change the casing of one/most/all of the characters you've typed or even stranger things). In emacs mode this usually just inserts a tilde, but this will fix that as well so nothing happens when unbound keys are pressed. Since there isn't any binding which does "nothing", create a noop ZLE widget and bind them to that. The user or other modules are still able to override these bindings either by overriding the main keymap or setting a keymap in one of the other modes which will take precedence over the main fallback. commit db48a22c741cc553da0e0699955ffe3952efd43f Author: Benjamin Chrétien Date: Thu Feb 11 21:35:09 2016 +0900 gpg: fix enable-ssh-support detection That line may be commented in the config file. commit e6136a517b6b795ed71e7538f3a0d9ae8dfcce9a Author: Indrajit Raychaudhuri Date: Fri Jul 7 00:02:13 2017 -0500 [git] Fix 'git-hub-shorten-url' helper Changes: - Use git.io over 'https' - Add extra check to conform to *.github.com URLs - Use built-in _urls function for completion - Update readme with GitHub blog URL commit 7d5beeab51627de9b68fb13b0359438da32dd6ac Author: Kaleb Elwert Date: Thu Jul 6 16:01:26 2017 -0700 Add comments into each of the function files to make them easier to find commit a70bce3ea6ab68d8a89459525133ca4e4d7f878e Author: Kaleb Elwert Date: Thu Jul 6 16:00:58 2017 -0700 Ensure we use the same function definition syntax everywhere commit 75a60bc7bff3281ce3aae8fb4b25b8b461ccc0f7 Author: Samantha McVey Date: Wed Jul 5 23:05:31 2017 -0700 [editor] Add bindkey-all function to show all bound keys (#1358) * [editor] Add bindkey-all function to show all bound keys Function which allows you to see all the bound keys for all of the different keymaps. It does accept arguments and passes them through to bindkey -m "$keymap" so you could set a shortcut to all keymaps as well if you wished. Makes it much easier to see and grep what keys are bound to each of the different keymaps. When no arguments are given it will print keymap headers to stderr, if given arguments it will not print anything extra to the screen. * [editor] Update README to include information about bindkey-all funct. commit 5cd3380d9ddaa45f912339e9cac00dc7457202cb Author: Samantha McVey Date: Wed Jul 5 11:56:41 2017 -0700 [prompt/sorin] Fix branch code exploit vulnerability Escape all $ except the first $. Escape all backtick `'s. This prevents variable names or shell expansions placed as branch names from remotely exploiting code. Fixes issue #1267 for sorin prompt. commit c6124d4d37bd1571662d395a4d70f91610bc3139 Author: Brian K. Christensen Date: Wed Jul 5 15:42:35 2017 +0200 Updater: fix bug regarding source init in new updater logic commit 09b333eb4177c47929ba8ab309f489818af640d7 Author: Luiz Gonzaga dos Santos Filho Date: Sun Jul 2 03:40:22 2017 +0200 Fix README example on tmux's default session name commit a876890afd14304fee06dd87d7ba70412e4780d2 Author: Samantha McVey Date: Sat Jul 1 23:55:54 2017 -0700 [utility] scp/rsync glob local paths but don't glob remote paths Adds a function which wraps rsync and scp so that remote paths are not globbed but local paths are globbed. This is because the programs have their own globbing for remote paths. The wrap function globs args starting in / and ./ and doesn't glob paths with : in it as these are interpreted as remote paths by these programs unless the path starts with / or ./ Fixes issue #1125 commit dbe9a5ea28ebe3e09a48b703017f8d25d674bc19 Author: Samantha McVey Date: Mon Jul 3 17:00:14 2017 -0700 [editor] set forward/backward word for Ctrl+Right Ctrl+Left Set forward/backward word to be mapped the same as they are in vim, instead of having weird functionality when unset. commit 5ef10f765896d5849c4c98bb495f0c82c5533bda Author: Philipp A Date: Mon Jun 19 20:54:54 2017 +0200 Fixed ssh-add not using SSH_ASKPASS commit 87868441ebd1411ab3f257861c35b115830d71b3 Author: Samantha McVey Date: Thu Jun 29 23:26:53 2017 -0700 [zprezto-update] Add convenience function to update zprezto (#1344) * [zprezto-update] Add convenience function to update zprezto This function checks if there is any update to zprezto, and if so will pull in the changes. It will not attempt a pull unless it is fastforwardable. It also makes sure the user is on the master branch before attempting. * [zprezto-update] Improve resilience of the function Better error checking of status of the git repository and better error producing. Fit columns into mostly 80 width and add a missing printf argument. Use ( ) around the function so changing directory does not affect the outer scope. * [README] Add instructions on using zprezto-update function commit eb47b45a0d4a36545a2ed6cfb991d776cdcb0684 Author: Samantha McVey Date: Mon Jun 26 15:24:46 2017 -0700 [CONTRUBITING] Add section on using a secondary devel directory Add a section on how to use a separate directory than your normal ZDOTDIR for development with its own zprezto. commit a4ff6acd563b53e2afd997fd77fef7014619cebf Author: Samantha McVey Date: Mon Jun 26 14:52:59 2017 -0700 [runcoms/zprofile+zshenv] Ensure TMPDIR is always set In some cases TMPDIR may not be set, in which case it could cause issues for zsh modules. This change was prompted by issue #1331. Also when creating a missing TMPDIR, use mkdir --mode=700 instead of creating the directory and then chmoding it afterward. commit e52523204b69f18746a2d22f433c831919973bfa Author: Kaleb Elwert Date: Mon Jun 26 14:40:31 2017 -0700 Remove redundant style rules from CONTRIBUTING.md commit 961326f8e9f1afa6c2e2cd29404d9ca60b5c5dfb Author: Samantha McVey Date: Fri Jun 23 03:10:17 2017 -0700 [editor] Set Delete key in vicmd mode to delete character Delete key deletes character in vimcmd cmd mode instead of weird default functionality. The default functionality in vicmd mode is the Delete key will change the case of many of the characters on the screen, which is not the default thing that vim does. This could be confusing and frustrating to users, so set it to delete a character instead. commit 7fe28574a8aa87526ed8e3d51f5e0f34a47e7529 Author: Samantha McVey Date: Wed Jun 21 22:20:13 2017 -0700 [syntax-highlighting] Bump external repository to get bug fixes ad522a0 driver: Fix printing error message to file when cannot resolve highlighters directory location 73cb832 'main': Highlight mismatched 'if'/'fi'. be083d7 driver: Improve «unhandled ZLE widget 'foo'» error message. 237f89a 'main': Don't consider «$*» a glob. 835fec7 workaround for PAT_STATIC bug in zsh 9523d6d tests: zsh 5.4-to-be compatibility: Set a new "I am shooting myself in the foot" option. aac4a44 driver: Fix duplicated slash in error message 4f49c4a docs: Update zplug install instruction 5efd062 tests: Add a regression test for issue #392 (aliases beginning with a '+' are lost). 67be621 tests: Move some code in preparation for next commit. No functional change. 74949c2 driver: Don't undefine aliases that begin with a '+', to workaround an upstream bug. 8d5afe4 driver: Be immune to 'alias' having been redefined. 76ea9e1 'main': Highlight possible history expansions in double-quoted strings. 50fbb5f docs: Update Homebrew link. 2dce602 driver: Be immune to weird aliases in the calling scope. 347cf0e 'main': Add regression test for previous commit. 5625e30 'main': Fix bug: no start_pos=$end_pos in comment short path fed37a9 'main': Fix a bug concerning command word with embedded colon-space sequences. 626c034 Add FreeBSD port 3d74aa4 Add Fedora package 5398949 changelog: Update for changes pulled out of 0.5.x. commit d101b0a319e034fb0b171c3801fb18f9528e8849 Author: Samantha McVey Date: Wed Jun 21 22:11:28 2017 -0700 [autosuggestions] Bump external repository to version v0.4.0 14179d8 Bump version 281ed9b v0.4.0 changelog updates 83129dd Make asynchronous suggestions disabled by default a2f0ffb Enabling suggestions should not fetch a suggestion if buffer is empty 7d4a1d9 Add enable/disable/toggle widgets to disable suggestion functionality e1959d0 Put in a general fix for #219 - Handling input from `zle -U` c52c428 Fix issues with widgets wrapped by other plugins ea505b0 Add a spec for unlisted widgets fetching a new suggestion 502fb4a Make tmux_socket_name public so you can access easily from binding.pry ce36224 Use pry-byebug instead of pry for more functionality 39762ec Set up circle ci 468b740 Test should be passing block to RSpec wait_for c9a51e0 Handle dashes at the beginning of commands 48a21bf [cleanup] Remove an extra newline 4afbbba We only need to run the feature detection if starting async e3fa4e4 Don't do anything but re-bind widgets on each precmd 2cd99e6 Add a test for modifying widget list vars after sourcing plugin c70d685 Clean up widget list spec 255359d Use `+=` to be a bit more true to the spec language 4321fc0 We need to bind on every precmd to ensure we wrap other wrappers 75e8505 Gracefully handle being sourced multiple times a0fcd81 Destroy zpty on load if it already exists 39ca3da Use a different name for feature detection zpty dcce973 Remove support for long-deprecated options 0c940e7 Don't bind any zle-* methods 23ef16c Do not show suggestions if the buffer is empty 9381445 Fix tests c4bfd8e Need to prevent zpty feature detection from HUPing existing zptys c959408 Only wait a max of 2 seconds for content to match after clearing screen 06fca77 Readme updates for v0.4.0 9feac57 Do not show any error output from async zpty server process ed8056c Lots of async changes 38eb7cd Update license date 64e7ec5 Rename internal term session method 98f926d Clean up TerminalSession constructor a bit 51e8755 TerminalSession methods return self to support chaining 5151adf Make TerminalSession#clear block until the screen is cleared 2c465a9 Rename async pty name config var e3eb286 Lots of little async cleanups c342587 Wait for the terminal.clear to go through before continuing 89dd69d Add pry gem for debugging support 40bb2e7 little cleanup 16666da Handle versions of zsh where zpty does not set REPLY to fd of opened pty f33b605 Move async initialization into `start` function to keep in one place 78ba071 Add feature detection 3f57198 Only bind widgets once, on initial sourcing 2dbd261 Allow configuring of zsh binary to run integration tests against 6c5cd42 Go back to tracking last pid because `kill %1` didn't seem to be working 54e1eee Optimize case where manually typing in a suggestion 21d9eda Wrap suggestion fetch command in parens to actually run in background 50e6832 Escape the prefix passed into the match_prev_cmd strategy 0305908 Revert `fc` usage in calculating suggestion 8e06a54 Add test for string with "\n" in it b3208b0 Pass the chosen strategy into the suggestion server pty ab27425 Quote the suggestion to support sh_split_word option e5a5b0c Output only newlines in the pty 0337005 Disable word splitting while reading to preserve whitespace b530b0c Use `zpty -r` with pattern matching to fetch suggestion 5c891af Reset zsh options inside pty (from zsh-async) e33eb57 Send only the prefix to the suggestion server fba20b0 Use %1 instead of tracking pid 0308ed7 Rename worker to server e72c2d8 add a bunch of comments ab8f295 First pass at async functionality debbffc Add rspec test around accepting suggestions 4850119 Add separate test task for RSpec c22ab0e Implement suggestion integration tests in RSpec + tmux 07a6768 Add TerminalSession helper for managing a tmux session e6591d5 Add RSpec for high-level integration testing af671fb Add ruby settings to editor config commit f8f4953dcea8a43a21c381c0891e26842f3c3d47 Author: Samantha McVey Date: Wed Jun 21 22:02:47 2017 -0700 [completion] Bump external repository to version 0.25.0 8cdf60b Updated rkt commands and arguments f9d7d9d Implemented autocompletion for rkt pods and images (Fixes #465) 9feab39 Added completion for yarn a63a098 Update completion for mix, add completion for mix test, fix completion for mix help 6285e0e Add completions for bitcoin-cli 0ed2e86 Set proper description for gist -r df5a3a1 Try to follow the style guide d7a2972 Add gist completion for read flag b0cb2ad Added _rclone b7c11f4 drop ripgrep completion 907cba3 Update repository infos ccb53f4 Support newer versions of OpenSSL f02dc8f add licence information ceaff68 Add completion for ffind commit 7c172fc9a71d91c12bd14937875863c452d5c568 Author: Diego Rabatone Oliveira Date: Wed Jun 21 18:37:03 2017 -0300 Fix #1337 by removing top alias to htop. (#1341) Fixes #1337 commit ecc34e00511eee18501b39afd2998c416219849c Author: Matthew Crenshaw Date: Wed Jun 21 15:30:57 2017 -0400 Move virtualenv auto-switch cwd hook optional loader out from inside unrelated if statement (#1338) commit 1c041c04339eeb45556acef5e1ac43742b20bda1 Author: Nargoth Date: Tue Jun 20 00:52:54 2017 +0200 fixed vivisual key binding (#1148) Fixes #1236 commit d9a1380263bbeb27a9ed91b79e04e99b65760535 Author: Samantha McVey Date: Mon Jun 19 14:18:14 2017 -0700 Change print to printf in init.zsh error (#1335) When my zsh had issues, and I was debugging it, this line would end up being run but no output would be made to the screen. Changing it from print to printf caused the error to properly be displayed. commit a75c63768c14f7315c87616d82b17690ae6e2630 Author: Ihab Soliman Date: Mon Jun 19 04:40:44 2017 -0400 Add git aliases for signing commits (#1126) commit a0541ce7a5f3ee5b0d869f1cd2b5546558e3750d Author: Kaleb Elwert Date: Fri Jun 16 10:37:51 2017 -0700 Default sorin theme to /tmp when TMPDIR is not set Fixes #1331 commit 2f20a80f7255bffcf878de70192f6df126c6069f Author: Alexander Neumann Date: Tue Jun 13 10:55:49 2017 +0200 sorin theme: Use a proper temp file for async data commit 5bcc223e95abf7025f131b5aade44eb412ebd214 Author: Alexander Neumann Date: Tue Jun 13 10:51:23 2017 +0200 zprofile: Use non-random static TMPDIR Closes #1319 commit 14670f40f0191a8dc219b98eae48d9e8113f16c9 Author: Luis Fernando Milano Oliveira Date: Thu Jun 8 14:18:37 2017 -0300 replace the deprecated abs call in the pacu alias. commit 7ae7a0266c04f2645bdf9917378645fc505e7461 Author: Kaleb Elwert Date: Tue May 30 17:29:32 2017 -0700 Update python docs to include info on virtualenv auto-switching commit 08e39a587fa130f04077201d050e72b2130d637e Author: Matthew Crenshaw Date: Tue May 30 20:26:18 2017 -0400 Python virtualenv auto workon cwd hook (#1300) * Command to activate virtualenvs on changing directory Enables automatic activation of a virtualenv when jumping into a directory This is done by looking in the current directory for a file or directory named `.venv`. If it's not found in the current directory its parents will also be examined. `.venv` can be either: 1. A file containing the name of a virtualenv found in $WORKON_HOME 2. A directory containing bin/activate (meaning that the directory is assumed to be a virtualenv.) If $WORKON_HOME is set it is assumed that virtualenvwrapper is installed and the `workon` command will be issued. commit 658fffb3a67a1f951d9c413802844694359caa7e Author: Kaleb Elwert Date: Fri May 5 09:58:19 2017 -0700 Allow ssh module to run on OSX commit 6975b119b643eaf574c1c429fee15fab6947309d Author: Kaleb Elwert Date: Tue May 2 18:02:28 2017 -0700 Change the zstyle config name for #607 commit d02c2951b39ceee3e37dc163661df054fb641d8d Author: Matt Henkel Date: Tue May 2 17:57:00 2017 -0700 Add the ability to specify tmux session name commit 871b15663cbb8d6b13efc9ba734c6ee2781c7e07 Author: Kaleb Elwert Date: Tue May 2 01:36:23 2017 -0700 Cache the completion for a quicker startup The original idea was by @samjonester in #1210. This version aims to avoid relying on the stat or date programs because they have different flags depending on the OS and if it uses BSD or GNU coreutils. commit 42d9b78907d256061fe641eed83accab41d4ac0b Author: Fernando H-T Goldáraz Date: Tue May 2 20:38:19 2017 +0200 broken $path and $PATH if nodenv exists (#1315) This change fixes a bug where no command can be found (e.g. `ls`) due to the $path array being set to two elements, one of them with all the previous paths separated by spaces. This makes zsh break $PATH, instead of colons there are spaces, and nothing works. The idea is to have the array be set leveraging the word splitting that we usually are told to avoid by quoting. commit 2794f95d3eb7d5b65be56710d9d9e9ac9d642ff8 Author: Kaleb Elwert Date: Tue May 2 10:08:01 2017 -0700 Use the lazy-loaded version of virtualenvwrapper if available This shouldn't cause problems for anyone and should improve startup times for anyone using python with virtualenvwrapper because it will wait for the first command to load rather than right away. commit 46a1ffaf7e9a3cddc12f5b88eeee1d94e5f02a47 Author: Kaleb Elwert Date: Mon May 1 09:43:12 2017 -0700 Add gbr and gbR aliases to module readme commit 3d7a8c28704fbe9ec0fbe842cb80f45003364a13 Author: Kyle Rich Date: Mon May 1 10:41:17 2017 -0600 Add some new git aliases, modify a few more. (#1301) * Add some new git aliases, modify a few more. * Add `gbV` command to show more verbose git branch info. * Add `gcam` to make it possible to execute `gca; gcm ''` more simply. * Add `gii` command to temporarily untrack (ignore) a file. * Add `giI` command to uningore a file. * Change alias of `gbl` to `gbv`. Personally, I think aliases that include a switch in the command should include the switch in the alias if possible. This makes them easier to remember. * Change alias of `gbL` to `gba`. I think the `-a` switch is more salient to what this alias does than the `-v`. Furthermore, with this PR there are already `gbv` and `gbV` aliases, so those are out. * Change implementation of `gCl` alias to use built-in capabilities of git, rather than sed. * Rename gbx and gbX to gbd and gbD respectively * Mostly revert alias changes * Add gbr and gbR aliases to gbm and gbM commands commit 1050a0a290324f3b96256d3b1fefe4a84ab402d0 Author: Kaleb Elwert Date: Tue Apr 18 03:14:22 2017 -0700 Add better support for pyenv virtualenvs commit 723b3812e170975901fd371d549bc4ae78a88298 Author: Kyle Rich Date: Thu Apr 27 11:25:42 2017 -0600 Convert long-pwd to pwd-length commit 7c509a264fcca690d3da8e9589dc346db7f76ec0 Author: Kyle Rich Date: Wed Apr 26 10:07:34 2017 -0600 Add zstyle option to show pwd in long format commit 850ad42c96d22425e96c0d5a5eb3c641b7b53510 Author: Indrajit Raychaudhuri Date: Wed Apr 26 12:58:54 2017 -0500 rsync: Update reference to Bombich's rsync page Seems like Bombich's rsync page moved with the previous link doing 404. Adjusted to fix this. commit 4f87376b507c712c0d401b43f1819604cb40833e Author: Indrajit Raychaudhuri Date: Sat Feb 11 16:39:48 2017 -0600 Add support for 'pip', 'pip2', 'pip3' completion Since `pip completion --zsh` might be slow, we cache it beforehand. The implementation is along the lines of 'npm' completion in 'node' module. commit 876f42658124379d3b2a8756f9169fc47839f8be Author: Mathieu Chataigner Date: Tue Mar 8 17:14:47 2016 +0100 Update ssh module for multi session hosts create ssh_agent_env with current user id in file name to avoid collisions with other users create ssh_agent_sock with current user id in file name to avoid collisions with other users commit f15557159a0c7b8af3cb904f42644fadff3dc6a1 Author: Sudarshan Wadkar Date: Fri Apr 14 19:51:02 2017 -0400 New `alias gfa=git fetch --all` for git module Also includes an updated README.md ! commit 81b41d2367542abc742d113dc4e43f8245d11c41 Author: Guillaume Subiron Date: Fri Mar 18 08:29:57 2016 +0100 Add utility alias for pydf commit cf7d3cffbdc201595c0c650798fab9f9e44b4d51 Author: delphinus Date: Tue Apr 18 17:57:35 2017 +0900 Add perl-info function & plenv subcommand aliases (#1303) * Add perl-info function * Add alias for plenv subcommands * Load perlbrew if needed * Load plenv if needed * Use PERLBREW_ROOT as priority to detect Perlbrew commit fb37539f439fc5e382d223c3f9b2abb2b4267cb3 Author: Matt Hamilton Date: Mon Oct 5 18:47:41 2015 -0400 archive: add archive function commit 7242b4ed49f83d0ad905a1a72d405d895ad56215 Author: Khai Do Date: Mon Apr 17 22:04:28 2017 -0700 archive: add support for *.jar files (#1302) commit c38c2dd90910e808bbad02dfff269a790e5111f9 Author: Patrick Bos Date: Sat Apr 15 16:44:05 2017 -0700 Move python-info call in paradox from preexec to precmd commit 600b4cc9e6246724ac6c8965296b638a78962ad3 Author: Kaleb Elwert Date: Sat Apr 15 14:16:15 2017 -0700 Add missing alias to utility README commit 38f0d2f34e84ec3d02c589573a8e097d1807e762 Author: Kaleb Elwert Date: Sat Apr 15 14:06:05 2017 -0700 Rework diff function This removes --unified from the default options to make it possible to pass -y without worrying about conflicting output formats. diffu has also been added as an alias to make it easier to get output as a unified diff. Fixes #1231 commit 40853f23c2658f63105e3d8c72e510f95ef98fbe Author: Kaleb Elwert Date: Sat Apr 15 01:47:58 2017 -0700 Remove additional newlines in issue and pull request templates commit a622652f7327b2d97ba09344404f0a9052f60692 Author: Kaleb Elwert Date: Sat Apr 15 01:45:46 2017 -0700 Add initial issue and pull request templates commit a8ce3da782903528d3bbd94b7525464c74109992 Author: Kaleb Elwert Date: Sat Apr 15 01:36:15 2017 -0700 Add note to CONTRIBUTING.md about zstyle commit 19d11ab1d057544d67a0c12172cbf28291bcc62d Author: Kaleb Elwert Date: Sat Apr 15 01:14:09 2017 -0700 Add code style to CONTRIBUTING.md Closes #1296 commit e606b09c9ee9c798a721d7e52fc10bf15514efca Author: Kaleb Elwert Date: Thu Apr 13 04:05:16 2017 -0700 Update is-callable to also check builtins Fixes #1037 commit d035e4cf1efe1d66d73c5eab54016bcf507eb4c9 Author: Kaleb Elwert Date: Thu Apr 13 03:27:59 2017 -0700 Fix indentation in README commit 8a4333103dc990400a5d800a49f48418d6a53449 Author: François VANTOMME Date: Thu Apr 13 12:14:23 2017 +0200 Feat (docker): add docker aliases (#1147) Thanks to @malikoth and @saoula for their input. commit bb168c588193c7f520405972500af8e69dd464b2 Author: François VANTOMME Date: Wed Mar 2 09:28:47 2016 +0100 Doc (ruby): add doc on bundle clean alias commit 7c64584629df83046b5489087d4b86f4e0850947 Author: François VANTOMME Date: Tue Feb 16 10:47:57 2016 +0100 Add bundle clean alias commit 7011031a871918aece5670deee32e53671ea66a8 Author: Kaleb Elwert Date: Thu Apr 13 03:02:07 2017 -0700 Don't use a deprecated argument as a python example Thanks to @jeffwidman for pointing this out Closes #1141 commit 2e20eb8571dde5bd3209441a69ec1ef589633738 Author: Kaleb Elwert Date: Thu Apr 13 02:53:07 2017 -0700 Add note about working around preexisting runcoms Closes #955 commit 5c0e68f75fe9d45ef352b29976265780d11763b4 Author: Anton Löfgren Date: Thu Apr 13 11:47:51 2017 +0200 completion: Cap max-errors at 7 to avoid hanging (#953) 7 is pretty arbitrarily chosen, but seems like a reasonable tradeoff, at least the completion no longer shows symptoms of exponential time-growth when trying to complete something completely wrong. This fixes #946. commit 1c0f95c08ebcc22231bb849cc6566243a0ad39e9 Author: Eduard Zintz Date: Thu Apr 13 11:25:45 2017 +0200 Allow syntax highlighting pattern styles (#1192) commit fb6f3f7ee96788fe19bf0cbf06ce59bcb1c28d40 Author: François Vantomme Date: Sat May 14 18:06:22 2016 +0200 Feat (aliases): add aliases for git flow commit 95036c908c414569c59bc9b8a97108fa922ea656 Author: Solitude Date: Thu Apr 13 01:54:52 2017 -0700 Update fasd README with basic installation information commit 9a70a1675cc4e5e95da046d46095b5bc42ae393a Author: Joel Kuzmarski Date: Tue Aug 9 13:34:56 2016 -0500 Remove manb from completion filename commit 8655cd543b517f66e31f1c37e20f5304d7f0fed7 Author: Kaleb Elwert Date: Thu Apr 13 01:16:44 2017 -0700 Ensure extendedglob is set in promptpwd commit 60c433d4ce680ddb2ca899b460e3714728cb221c Author: Matt Hamilton Date: Tue Sep 29 11:42:55 2015 -0400 Move common promptpwd code to external function commit b963484fe7a929db309946d777988c39f082ebf6 Author: Kaleb Elwert Date: Tue Apr 11 15:12:09 2017 -0700 Only try to run python-info if it exists for the paradox prompt commit ee249e50eedb86be7896b803ceb3156eb30a4856 Author: nstCactus Date: Tue Apr 11 13:37:12 2017 +0200 FIXED: syntax error in osx module tab function commit 412af2980846ef431831eed3d9fe1384596b7ca0 Merge: 94708f6 b38ced8 Author: John P. Neumann Date: Tue Apr 11 00:14:08 2017 -0500 Merge pull request #1272 from sorin-ionescu/issue/1246-ps-context-config Adds additional support for PS prompt context expansion commit 94708f6b50ed7bc904e2e28a08cf628b568305bc Author: Griffin Yourick Date: Mon Apr 10 14:40:43 2017 -0400 Fix path in node module commit 8dafaae5a43d3019d74a74c7d57430c5db689d5d Author: Griffin Yourick Date: Mon Apr 10 14:15:08 2017 -0400 Use patterns from ruby module for initializing nodenv commit e413ef5a97c5beff41ca7c2b93ae431ee295790a Author: Griffin Yourick Date: Mon Apr 10 14:23:49 2017 -0400 Add support for iTerm2 v3 in tab function commit 909006638dbe57517352497806f8094dc52a8c22 Author: Paul Melnikow Date: Wed Apr 5 12:34:31 2017 -0400 Bump license years and tidy up readme (#1273) commit 464a8d20a1e05b256d2b0a9d05d231c30160835d Author: Zhiming Wang Date: Thu Jul 9 17:53:58 2015 -0700 utility module: fix/improve colordiff call in diff The new call is compatible with colordiff v1.0.8 - v.1.0.15 (might be compatible with even earlier versions, but not tested), while the original one breaks down under v1.0.14 and v1.0.15. See https://github.com/daveewart/colordiff/issues/22. commit 95d19b37c12d0f4f1fb327adf310c1e14eeb8938 Author: Kire Ledan Date: Sun Nov 29 10:52:04 2015 -0500 Added support for python venv display in paradox prompt commit c0049855c51326e9b4eb595a970eb6d4c7ed3f9b Author: Eduardo San Martin Morote Date: Sun Aug 9 12:40:04 2015 +0200 Added option to skip git aliases definition Fixes #947 commit 27c2ccd8b9d189ca06f47e5618d6fd525dfda9c9 Author: Kaleb Elwert Date: Tue Apr 4 22:51:17 2017 -0700 Update external prompt modules commit fd0b627a8b19006585b74606306d32ef4168fa72 Author: Kaleb Elwert Date: Tue Apr 4 22:49:59 2017 -0700 Update zsh-users submodules to latest stable versions commit 076e29e97df3b15fd53f12d6d438cdae78f46773 Author: Kaleb Elwert Date: Tue Apr 4 22:44:28 2017 -0700 Update zsh-autosuggestions submodule location Thanks to @naibaf0. Closes #1096. commit 013668f484d1543cdadafac659a21e940df99957 Author: Olaf Conradi Date: Mon Apr 28 04:19:52 2014 +0200 Improve and simplify titling functions. Multiplexer titles can be set independent of window and tab titles. Add auto-title always option to have dynamic titling inside terminal multiplexers. Setting auto-title to yes continues to ignore dynamic titling inside terminal multiplexers. This patch should not alter behavior under Apple terminals. commit ddfc870f9aae4f43da10863a175cee2c91485cde Author: Justin Filip Date: Tue Nov 24 20:13:31 2015 -0500 Use less destructive git push --force-with-lease. commit 65b05c0220b5b26bc913477a215b60de86d04f8a Author: Wojciech Pietrzak Date: Wed Apr 5 07:03:47 2017 +0200 Add notice about potential shadowing of the gb command (#1124) commit 12d48dfcf9f8b082ee462242f0fde99bdde3c06d Author: Zhiming Wang Date: Wed Apr 5 00:36:28 2017 -0400 Remove extra use of grep in git-hub-shorten-url (#904) commit fb689449a76328ba23f60a5e07e22fc3bad55467 Author: Matt Hamilton Date: Tue Apr 4 21:30:48 2017 -0700 Prefer $(COMMAND) syntax over backticks (#1012) commit 483447082b04c3e4830f52a69b23f5a696bf4da5 Author: Jamie Rolfs Date: Thu Mar 16 03:12:18 2017 -0700 Add nodenv support to Node.js module - Implementation from https://github.com/sorin-ionescu/prezto/pull/1001 - Documentation from https://github.com/sorin-ionescu/prezto/pull/1178 commit 2c1ad5bed1014884917b0e5642912b5d3a701035 Author: Dario Gjorgjevski Date: Wed Apr 5 06:24:50 2017 +0200 Avoid unsetting nonexistent variables (#1075) commit 4e35f701ca30491518a32a42cad9a21a83388db2 Author: Kyle Rich Date: Wed May 25 17:31:11 2016 -0600 Add "sa" alias to make it easy to search aliases commit 3a6ae0fc6c73963e5f6b0b77f32d219677c840b5 Author: Jared Scott Date: Wed Oct 12 00:54:11 2016 -0400 Change $TMPDIR for non-interactive shells This commit changes the way $TMPDIR is set by using `mktemp` rather than a fixed string. commit dcd85961926467647e015ef803df9bdaacbc3509 Author: Paul Melnikow Date: Sat Sep 10 10:41:37 2016 -0400 Don't load pfunctions from vi swap files commit a7729561e8f9b2efee6177aca74809b7c8d7e63f Author: Calvin Smith Date: Mon Apr 3 23:06:02 2017 -0700 Add support for skipping VIRTUALENVWRAPPER init in modules/python (#598) * Support skip-virtualenvwrapper-init zstyle in python module to avoid auto-sourcing of virtualenvwrapper.sh * Don't overwrite the WORKON_HOME env var if the user has already set it commit 5271af8180bf455ff194195c93261a7b877c602c Author: Mateusz Lewko Date: Mon Apr 3 22:29:58 2017 +0200 Ensure code blocks are formatted properly for GitHub (#1271) commit 8913bcccd217e6935fff9f5ed73f4ea4a082fb05 Author: Eduard Zintz Date: Mon Apr 3 22:27:06 2017 +0200 Use python3 for http-serve alias if available (#1193) commit 2ba060a4264d5090c1d5c0618b6e472969d7aeea Author: Andreas Grauel Date: Mon Dec 26 09:31:17 2016 +0100 update brewu method Homebrew decided to not change the behaviour of `brew upgrade` so `brew upgrade --all` is equivalent to `brew upgrade` without any other arguments (so the `--all` is a no-op and can be removed). commit 8820b71f3707d6d1fb1fe0a786572bdc80cda94b Author: Plastix Date: Sat Mar 18 12:36:46 2017 -0400 Update pure prompt to v1.5.2 This fixes a security issue with malicious branch names commit 0be0ff565aeb9d79d85b9db593f5ffef445cef35 Author: Kaleb Elwert Date: Wed Mar 8 11:22:39 2017 -0800 Set ZPREZTODIR to ${0:h} commit 7346efd206015609c64537310cf6e45bb392bc72 Author: Kaleb Elwert Date: Tue Mar 7 17:42:41 2017 -0800 Allow setting ZPREZTODIR to make prezto easier to integrate with commit b38ced856a4ffb3e159d855db701ae379b19dc76 Author: John P. Neumann Date: Sun Apr 2 14:09:58 2017 -0500 Adds additional support for PS prompt context expansion New modules New prompt (pure) Add Conda. --- runcoms/zpreztorc | 41 +++++++++++++++++++++++------------------ runcoms/zshrc | 20 ++++++++++++++++++++ 2 files changed, 43 insertions(+), 18 deletions(-) diff --git a/runcoms/zpreztorc b/runcoms/zpreztorc index 9a3c19ae3fe..401e79aac8d 100644 --- a/runcoms/zpreztorc +++ b/runcoms/zpreztorc @@ -3,6 +3,7 @@ # # Authors: # Sorin Ionescu +# Toine Hartman # # @@ -10,7 +11,7 @@ # # Set case-sensitivity for completion, history lookup, etc. -# zstyle ':prezto:*:*' case-sensitive 'yes' +zstyle ':prezto:*:*' case-sensitive 'yes' # Color output (auto set to 'no' on dumb terminals). zstyle ':prezto:*:*' color 'yes' @@ -32,13 +33,17 @@ zstyle ':prezto:*:*' color 'yes' zstyle ':prezto:load' pmodule \ 'environment' \ 'terminal' \ - 'editor' \ 'history' \ 'directory' \ - 'spectrum' \ 'utility' \ - 'completion' \ - 'prompt' + 'prompt' \ + 'syntax-highlighting' \ + 'history-substring-search' \ + 'autosuggestions' \ + 'archive' \ + 'rsync' \ + 'git' \ + 'completion' # # Autosuggestions @@ -60,7 +65,7 @@ zstyle ':prezto:load' pmodule \ # # Set the key mapping style to 'emacs' or 'vi'. -zstyle ':prezto:module:editor' key-bindings 'emacs' +zstyle ':prezto:module:editor' key-bindings 'vi' # Auto convert .... to ../.. # zstyle ':prezto:module:editor' dot-expansion 'yes' @@ -116,7 +121,7 @@ zstyle ':prezto:module:editor' key-bindings 'emacs' # Set the prompt theme to load. # Setting it to 'random' loads a random theme. # Auto set to 'off' on dumb terminals. -zstyle ':prezto:module:prompt' theme 'sorin' +zstyle ':prezto:module:prompt' theme 'pure' # Set the working directory prompt display length. # By default, it is set to 'short'. Set it to 'long' (without '~' expansion) @@ -136,13 +141,13 @@ zstyle ':prezto:module:prompt' theme 'sorin' # Automatically initialize virtualenvwrapper if pre-requisites are met. # zstyle ':prezto:module:python:virtualenv' initialize 'yes' - +zstyle ':prezto:module:python' conda-init 'on' # # Ruby # # Auto switch the Ruby version on directory change. -# zstyle ':prezto:module:ruby:chruby' auto-switch 'yes' +zstyle ':prezto:module:ruby:chruby' auto-switch 'yes' # # Screen @@ -159,7 +164,7 @@ zstyle ':prezto:module:prompt' theme 'sorin' # # Set the SSH identities to load into the agent. -# zstyle ':prezto:module:ssh:load' identities 'id_rsa' 'id_rsa2' 'id_github' +zstyle ':prezto:module:ssh:load' identities 'id_rsa' 'id_rsa2' 'id_github' # # Syntax Highlighting @@ -167,13 +172,13 @@ zstyle ':prezto:module:prompt' theme 'sorin' # Set syntax highlighters. # By default, only the main highlighter is enabled. -# zstyle ':prezto:module:syntax-highlighting' highlighters \ -# 'main' \ -# 'brackets' \ -# 'pattern' \ -# 'line' \ -# 'cursor' \ -# 'root' +zstyle ':prezto:module:syntax-highlighting' highlighters \ + 'main' \ + 'brackets' \ + 'pattern' \ + 'line' \ + 'cursor' \ + 'root' # # Set syntax highlighting styles. # zstyle ':prezto:module:syntax-highlighting' styles \ @@ -190,7 +195,7 @@ zstyle ':prezto:module:prompt' theme 'sorin' # # Auto set the tab and window titles. -# zstyle ':prezto:module:terminal' auto-title 'yes' +zstyle ':prezto:module:terminal' auto-title 'yes' # Set the window title format. # zstyle ':prezto:module:terminal:window-title' format '%n@%m: %s' diff --git a/runcoms/zshrc b/runcoms/zshrc index 039b882d880..f2fe10c08b2 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -11,3 +11,23 @@ if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then fi # Customize to your needs... +source $HOME/.alias +source $HOME/.profile + +setopt NO_NOMATCH + +# >>> conda initialize >>> +# !! Contents within this block are managed by 'conda init' !! +__conda_setup="$('/usr/local/Caskroom/miniconda/4.6.14/miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" +if [ $? -eq 0 ]; then + eval "$__conda_setup" +else + if [ -f "/usr/local/Caskroom/miniconda/4.6.14/miniconda3/etc/profile.d/conda.sh" ]; then + . "/usr/local/Caskroom/miniconda/4.6.14/miniconda3/etc/profile.d/conda.sh" + else + export PATH="/usr/local/Caskroom/miniconda/4.6.14/miniconda3/bin:$PATH" + fi +fi +unset __conda_setup +# <<< conda initialize <<< +