1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-01 22:09:25 +00:00
Commit Graph

770 Commits

Author SHA1 Message Date
e6eea17b12 Update submodules
Updating to the latest released tags for modules:
completetion
syntax-highlighting

And for agnoster prompt
2018-11-08 17:42:44 -06:00
1ed5331e84 Fix issue #1635. Option to disable GNU ls to group directories first. 2018-10-18 16:22:04 -05:00
bfe1815cbf prompt/sorin: Minor cleanup and reordering 2018-10-18 08:14:47 -05:00
a43093119e prompt/minimal: Add support for preview 2018-10-18 08:14:47 -05:00
a3753d8f3b prompt/steeef: Add basic support for editor_info and preview 2018-10-18 08:14:47 -05:00
58809b2d21 Update submodule 'history-substring-search'
history-substring-search doesn't tag releases anymore and just maintains
the master branch -- switching to tracking master instead.
2018-10-12 16:55:57 -05:00
992b9de505 doc: More copyediting and formatting for consistency 2018-10-12 12:04:49 -05:00
6f603df7a6 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
2018-10-12 12:04:49 -05:00
ff5bd9306e submodule: Updating submodules
'modules/prompt/external/async' updated to 'v1.7.1'
'modules/syntax-highlighting/external' updated to latest 'master'
2018-10-11 17:26:42 -05:00
6c46804f41 environment: only enable bracketed paste on non-dumb terminals
Fixes #1552
2018-09-28 14:51:59 -07:00
e9387a177e python: respect PYENV_ROOT if already set
Fixes #1578
2018-09-28 14:24:30 -07:00
ee885d42de python: use pure's magic value for VIRTUAL_ENV_DISABLE_PROMPT
Fixes #1627
2018-09-28 14:04:24 -07:00
fbcae356d3 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.
2018-09-17 16:34:01 -05:00
f366e49c32 homebrew: Cleanup homebrew aliases
- 'brew upgrade' does 'brew update' by default, no need for explicit call
- replace 'brew remove' with 'brew uninstall' for consistency
2018-09-15 13:04:07 -05:00
ad861d3b45 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.
2018-09-15 13:04:07 -05:00
2bbf5d0687 homebrew: Load standard Homebrew environment variables into shell session.
However, guard for legacy Homebrew as `brew shellenv` is relatively new.
2018-09-15 09:37:24 -07:00
dd7a26e219 [git] Also check "commondir" when looking for a stash (#1620) 2018-09-15 09:35:48 -07:00
f2042a29cc 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.
2018-08-09 14:25:30 -04:00
dacef14214 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
2018-08-01 13:52:52 -04:00
e064d5c65f Make node-info work without nvm/nodenv 2018-08-01 13:50:20 -04:00
e149367445 coreutils: update list of included coreutils (#1592) 2018-06-26 16:28:04 -07:00
cd70822994 completion: Compact path to global ssh known hosts file 2018-06-26 13:43:27 -05:00
0d6e7de031 syntax-highlighting: Update README to clarify module load order
Fixes #1584
2018-06-18 14:16:39 -07:00
b11b9ce788 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.
2018-06-14 11:31:29 -07:00
3d911cd511 Document gpf vs gpF
Document the difference between `gpf` and `gpF`. These were changed in https://github.com/sorin-ionescu/prezto/pull/1040 / ddfc870f9a, but never documented.
2018-05-20 14:10:13 -07:00
ae23bedd24 Document macOS support for command-not-found
Document macOS support for `command-not-found`
2018-05-20 14:06:54 -07:00
2995b7d0c8 Update cache files when .zpreztorc file is modified
Fixes #1581
2018-05-06 13:22:22 -07:00
6e179f24ab 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.
2018-05-01 08:53:16 -07:00
f8f93d4b91 command-not-found: Directly source homebrew command-not-found handler
Fixes #1577, Fixes #1451
2018-04-29 17:39:39 -07:00
b6b43eb331 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.
2018-04-16 15:53:48 -07:00
300102897a Add proper prompt_opts to smiley prompt 2018-04-06 11:35:39 -07:00
054eb351f1 Revert "Only call reset-prompt when the appropriate zstyle is set"
This reverts commit 6d00fdf8c8.

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.
2018-04-06 11:33:02 -07:00
1b441e7654 Feat (git): add an alias displaying the commits yet to be applied to upstream (#1565) 2018-04-04 15:20:21 -07:00
443021237a Allow users to easily define LS_COLORS and LSCOLORS (#1546) 2018-03-30 17:47:05 -07:00
a0977cb92e Ignore tmux autostart in vscode terminal 2018-03-30 17:45:35 -07:00
b3c27bb164 Replace git with 'command git' (#1551)
to improve performance if git is aliased to hub or other wrappers.
2018-03-05 00:56:25 -08:00
e00562e7cf python: autoload add-zsh-hook when needed (#1549)
Fixes #1550
2018-02-23 13:39:45 -08:00
742260b55f Remove support for pydf to make options more consistent
Closes #1388
2018-02-21 14:10:11 -08:00
580ddc44f3 Add another shadow to the git aliases
Originally submitted in https://github.com/sorin-ionescu/prezto/pull/979
2018-02-21 14:02:56 -08:00
4325f74f9d git: add tag aliases
Originally submitted in https://github.com/sorin-ionescu/prezto/pull/1094
2018-02-21 13:48:51 -08:00
6d00fdf8c8 Only call reset-prompt when the appropriate zstyle is set
Resolves issue #1524 (#1548)
2018-02-20 20:36:29 -08:00
e26387656d 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).
2018-02-17 19:38:12 -08:00
d7622624aa autosuggestions: add basic history troubleshooting information 2018-02-17 08:06:34 -08:00
282b478fd2 Add vi-pound-insert as # in vicmd mode
Fixes #1534
2018-01-26 18:14:14 -08:00
904eef5fa5 Add pound-toggle zle widget to work around the buggy built-in pound-insert
Refs #1533, #1534
2018-01-26 14:52:11 -08:00
906ac99e20 Move INTERACTIVE_COMMENTS from editor to environment 2018-01-25 12:41:58 -08:00
0b62639ad5 Set INTERACTIVE_COMMENTS by default
This allows using # to comment lines in the interactive shell
2018-01-25 12:32:29 -08:00
54d2a76731 pacman: fix mistake where aurutils should be used, not aurtools 2018-01-24 14:01:14 -08:00
e32a96be72 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
2018-01-24 13:47:22 -08:00
73e94b84bb 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
2018-01-16 02:47:03 -08:00