Steven Loria
419801273c
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
6 years ago
Michael Kohl
1b0d6f0aed
Make node-info work without nvm/nodenv
6 years ago
Tharre
e34ad2645b
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
6 years ago
Colin Hebert
b8470494a5
coreutils: update list of included coreutils ( #1592 )
6 years ago
Indrajit Raychaudhuri
f30d954071
completion: Compact path to global ssh known hosts file
6 years ago
Kaleb Elwert
bebb671f81
syntax-highlighting: Update README to clarify module load order
...
Fixes #1584
7 years ago
Alexander Neumann
a8fe3db3ca
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.
7 years ago
Andrew Janke
3f48b8cbb2
Fix spelling error in CONTRIBUTING.md ( #1590 )
7 years ago
Christopher Bowns
46f28afe04
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
7 years ago
Jeff Widman
dcbc12cbbe
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.
7 years ago
Jeff Widman
3dba73870c
Document macOS support for `command-not-found`
...
Document macOS support for `command-not-found`
7 years ago
Casey McGinty
045a2129fe
Update cache files when .zpreztorc file is modified
...
Fixes #1581
7 years ago
Casey McGinty
7847dbed61
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.
7 years ago
Kaleb Elwert
b71c80e330
command-not-found: Directly source homebrew command-not-found handler
...
Fixes #1577 , Fixes #1451
7 years ago
Ashish Gandhi
45d8e460b2
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 .
7 years ago
Kaleb Elwert
b7ca738415
Add proper prompt_opts to smiley prompt
7 years ago
Kaleb Elwert
dc60454f96
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.
7 years ago
François VANTOMME
97bc27e169
Feat (git): add an alias displaying the commits yet to be applied to upstream ( #1565 )
7 years ago
Kaleb Elwert
23f538573d
Allow users to easily define LS_COLORS and LSCOLORS ( #1546 )
7 years ago
Roman Peshkov
51d69eba7e
Ignore tmux autostart in vscode terminal
7 years ago
Diego Rabatone Oliveira
0ce0659709
Replace git with 'command git' ( #1551 )
...
to improve performance if git is aliased to hub or other wrappers.
7 years ago
bryndin
a3266044e4
python: autoload add-zsh-hook when needed ( #1549 )
...
Fixes #1550
7 years ago
Kaleb Elwert
29619edf18
Remove support for pydf to make options more consistent
...
Closes #1388
7 years ago
Philipp A
48cad10b36
Add another shadow to the git aliases
...
Originally submitted in https://github.com/sorin-ionescu/prezto/pull/979
7 years ago
Rick Jones
fb480a6e98
git: add tag aliases
...
Originally submitted in https://github.com/sorin-ionescu/prezto/pull/1094
7 years ago
John P. Neumann
f1411e9ea5
Only call reset-prompt when the appropriate zstyle is set
...
Resolves issue #1524 (#1548 )
7 years ago
Alexey Zapparov
72c8b9576b
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).
7 years ago
Kaleb Elwert
4dce9adc59
autosuggestions: add basic history troubleshooting information
7 years ago
Kaleb Elwert
58863c7f18
Add vi-pound-insert as # in vicmd mode
...
Fixes #1534
7 years ago
Kaleb Elwert
6ac2c05f27
Add `pound-toggle` zle widget to work around the buggy built-in `pound-insert`
...
Refs #1533 , #1534
7 years ago
Kaleb Elwert
0465db42a4
Move INTERACTIVE_COMMENTS from editor to environment
7 years ago
Maxim Baz
8c5b10f652
Set INTERACTIVE_COMMENTS by default
...
This allows using # to comment lines in the interactive shell
7 years ago
Kaleb Elwert
725002204f
pacman: fix mistake where aurutils should be used, not aurtools
7 years ago
Kaleb Elwert
37420bcca0
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
7 years ago
Salmanul Farzy
aa83895e00
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
7 years ago
Kaleb Elwert
4184e2ac53
utility: remove usage of noremoteglob until bugs can be fixed
...
Fixes #1443 , #1521
7 years ago
Kaleb Elwert
d28d2640c6
autosuggestions: ensure external submodule is the latest version
7 years ago
Kaleb Elwert
c9a9a6d776
python: remove zstyle setting in favor of third party environment variable
...
Refs #1519 , #1520
7 years ago
Kaleb Elwert
84547e28bb
python: only override virtualenv python if not set
...
Fixes #1520
7 years ago
Kaleb Elwert
089e7edd9e
python: only override virtualenvwrapper python when needed
...
Fixes #1519
7 years ago
Kaleb Elwert
09313c0c84
python: make a reasonable guess about virtualenvwrapper python location
...
Fixes #1416
7 years ago
Brian K. Christensen
32e3ab6d50
Update zsh-autosuggestions to v0.4.2
7 years ago
Kaleb Elwert
c72ea38979
python-info: add support for pyenv and only do extra work if the prompt needs it
7 years ago
Kaleb Elwert
9446c7fb53
ruby-info: only run commands if the prompt needs the info
7 years ago
Kaleb Elwert
07fe0d0e31
python-info: avoid setting python_info[version] if python is not on the PATH
7 years ago
Kaleb Elwert
00c2c61e3b
python-info: provide python version info for theming
...
Closes #1173
Closes #958
7 years ago
Joel Kuzmarski
f1123dd68e
Better TTY logic for zlogin and zlogout
7 years ago
Kaleb Elwert
e96ea76565
Add support for loading plugins in the oh-my-zsh format
...
Closes #1484
7 years ago
Kaleb Elwert
020edcd1c8
pacman: Update README to recommend pacaur over yaourt
7 years ago
Kaleb Elwert
b14ee84357
editor: Avoid prompt redisplay on completion when there is no indicator
...
Refs #1512
7 years ago