f37cf0ffc9
Merge remote-tracking branch 'upstream/master'
2018-10-21 18:32:07 +02:00
Tercio Gaudencio Filho
1ed5331e84
Fix issue #1635 . Option to disable GNU ls to group directories first.
2018-10-18 16:22:04 -05:00
Indrajit Raychaudhuri
bfe1815cbf
prompt/sorin: Minor cleanup and reordering
2018-10-18 08:14:47 -05:00
Indrajit Raychaudhuri
a43093119e
prompt/minimal: Add support for preview
2018-10-18 08:14:47 -05:00
Indrajit Raychaudhuri
a3753d8f3b
prompt/steeef: Add basic support for editor_info and preview
2018-10-18 08:14:47 -05:00
Indrajit Raychaudhuri
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
Indrajit Raychaudhuri
992b9de505
doc: More copyediting and formatting for consistency
2018-10-12 12:04:49 -05:00
Indrajit Raychaudhuri
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
Indrajit Raychaudhuri
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
53facbe9de
Add os-info function and use it in damoekri theme
2018-10-06 21:12:31 +02:00
Kaleb Elwert
6c46804f41
environment: only enable bracketed paste on non-dumb terminals
...
Fixes #1552
2018-09-28 14:51:59 -07:00
Kaleb Elwert
e9387a177e
python: respect PYENV_ROOT if already set
...
Fixes #1578
2018-09-28 14:24:30 -07:00
Kaleb Elwert
ee885d42de
python: use pure's magic value for VIRTUAL_ENV_DISABLE_PROMPT
...
Fixes #1627
2018-09-28 14:04:24 -07:00
Diego Rabatone Oliveira
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
Indrajit Raychaudhuri
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
Indrajit Raychaudhuri
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
Indrajit Raychaudhuri
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
Yutian Li
dd7a26e219
[git] Also check "commondir" when looking for a stash ( #1620 )
2018-09-15 09:35:48 -07:00
Diego Rabatone Oliveira
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
Steven Loria
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
Michael Kohl
e064d5c65f
Make node-info work without nvm/nodenv
2018-08-01 13:50:20 -04:00
Colin Hebert
e149367445
coreutils: update list of included coreutils ( #1592 )
2018-06-26 16:28:04 -07:00
Indrajit Raychaudhuri
cd70822994
completion: Compact path to global ssh known hosts file
2018-06-26 13:43:27 -05:00
Kaleb Elwert
0d6e7de031
syntax-highlighting: Update README to clarify module load order
...
Fixes #1584
2018-06-18 14:16:39 -07:00
Alexander Neumann
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
Jeff Widman
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
Jeff Widman
ae23bedd24
Document macOS support for command-not-found
...
Document macOS support for `command-not-found`
2018-05-20 14:06:54 -07:00
Casey McGinty
2995b7d0c8
Update cache files when .zpreztorc file is modified
...
Fixes #1581
2018-05-06 13:22:22 -07:00
Casey McGinty
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
Kaleb Elwert
f8f93d4b91
command-not-found: Directly source homebrew command-not-found handler
...
Fixes #1577 , Fixes #1451
2018-04-29 17:39:39 -07:00
Ashish Gandhi
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
Kaleb Elwert
300102897a
Add proper prompt_opts to smiley prompt
2018-04-06 11:35:39 -07:00
Kaleb Elwert
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
François VANTOMME
1b441e7654
Feat (git): add an alias displaying the commits yet to be applied to upstream ( #1565 )
2018-04-04 15:20:21 -07:00
Kaleb Elwert
443021237a
Allow users to easily define LS_COLORS and LSCOLORS ( #1546 )
2018-03-30 17:47:05 -07:00
Roman Peshkov
a0977cb92e
Ignore tmux autostart in vscode terminal
2018-03-30 17:45:35 -07:00
Diego Rabatone Oliveira
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
bryndin
e00562e7cf
python: autoload add-zsh-hook when needed ( #1549 )
...
Fixes #1550
2018-02-23 13:39:45 -08:00
Kaleb Elwert
742260b55f
Remove support for pydf to make options more consistent
...
Closes #1388
2018-02-21 14:10:11 -08:00
Philipp A
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
Rick Jones
4325f74f9d
git: add tag aliases
...
Originally submitted in https://github.com/sorin-ionescu/prezto/pull/1094
2018-02-21 13:48:51 -08:00
John P. Neumann
6d00fdf8c8
Only call reset-prompt when the appropriate zstyle is set
...
Resolves issue #1524 (#1548 )
2018-02-20 20:36:29 -08:00
Alexey Zapparov
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
Kaleb Elwert
d7622624aa
autosuggestions: add basic history troubleshooting information
2018-02-17 08:06:34 -08:00
Kaleb Elwert
282b478fd2
Add vi-pound-insert as # in vicmd mode
...
Fixes #1534
2018-01-26 18:14:14 -08:00
Kaleb Elwert
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
Kaleb Elwert
906ac99e20
Move INTERACTIVE_COMMENTS from editor to environment
2018-01-25 12:41:58 -08:00
Maxim Baz
0b62639ad5
Set INTERACTIVE_COMMENTS by default
...
This allows using # to comment lines in the interactive shell
2018-01-25 12:32:29 -08:00
Kaleb Elwert
54d2a76731
pacman: fix mistake where aurutils should be used, not aurtools
2018-01-24 14:01:14 -08:00
Kaleb Elwert
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
Salmanul Farzy
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
Kaleb Elwert
82d3265ad5
utility: remove usage of noremoteglob until bugs can be fixed
...
Fixes #1443 , #1521
2017-12-18 13:35:23 -08:00
Kaleb Elwert
66bfe9be27
autosuggestions: ensure external submodule is the latest version
2017-12-14 22:26:13 -08:00
Kaleb Elwert
83085e5231
python: remove zstyle setting in favor of third party environment variable
...
Refs #1519 , #1520
2017-12-14 17:23:44 -08:00
Kaleb Elwert
4c31107e3b
python: only override virtualenv python if not set
...
Fixes #1520
2017-12-14 17:11:06 -08:00
Kaleb Elwert
d8d6b4d70a
python: only override virtualenvwrapper python when needed
...
Fixes #1519
2017-12-12 23:11:55 -08:00
Kaleb Elwert
e021adeb4a
python: make a reasonable guess about virtualenvwrapper python location
...
Fixes #1416
2017-12-11 11:01:42 -08:00
Brian K. Christensen
aa0395244d
Update zsh-autosuggestions to v0.4.2
2017-12-07 10:13:04 -08:00
Kaleb Elwert
3ab569ff78
python-info: add support for pyenv and only do extra work if the prompt needs it
2017-12-04 15:08:58 -08:00
Kaleb Elwert
3a0bd28e0c
ruby-info: only run commands if the prompt needs the info
2017-12-04 15:08:23 -08:00
Kaleb Elwert
64d57ec71f
python-info: avoid setting python_info[version] if python is not on the PATH
2017-12-04 12:08:45 -08:00
Kaleb Elwert
b407ba0c3a
python-info: provide python version info for theming
...
Closes #1173
Closes #958
2017-12-04 12:05:21 -08:00
Kaleb Elwert
7cdde9b631
pacman: Update README to recommend pacaur over yaourt
2017-12-01 14:51:05 -08:00
Kaleb Elwert
8ed2c78de8
editor: Avoid prompt redisplay on completion when there is no indicator
...
Refs #1512
2017-12-01 10:55:58 -08:00
Indrajit Raychaudhuri
043d09bbfe
[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
2017-11-28 16:45:28 -08:00
Kaleb Elwert
df3468e957
Update zsh-async to v1.6.0
2017-11-28 15:10:13 -08:00
Kaleb Elwert
65bcbae8bc
Update zsh-autosuggestions to v0.4.1
2017-11-28 09:19:35 -08:00
Kaleb Elwert
221c6cd128
Remove BRACE_CCL as default
...
Fixes #1162
2017-11-14 00:34:19 -08:00
Indrajit Raychaudhuri
2436806fce
[utility] Simplify enabling 'diff' color conditions in wrapper function
...
Nested `if` can be removed for simple cases like these.
Also, doc cleanup.
2017-11-12 16:51:24 -08:00
ickc
96bbb31cc8
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.
2017-11-12 16:20:52 -08:00
Kaleb Elwert
ad79f78fbe
prompt: fix async usage in sorin prompt
...
Fixes #1509
2017-11-11 20:57:03 -08:00
Kaleb Elwert
e159c1a439
prompt: update sorin prompt async usage to be closer to pure
2017-11-11 15:18:31 -08:00
Kaleb Elwert
f02dc1af57
gpg: potential fix for #1252
2017-11-10 12:23:37 -08:00
Kaleb Elwert
105e9658bb
gnu-utility: avoid overriding shell builtins
...
Fixes #1263
2017-11-10 11:54:54 -08:00
Kaleb Elwert
948d9b3aa5
Store cache files in a user-writable location
...
Fixes #1122
2017-11-10 11:37:14 -08:00
Kaleb Elwert
79927ac73a
editor: Fix Home and End in vicmd mode
...
Fixes #1160
2017-11-10 11:06:50 -08:00
Kaleb Elwert
485ad9e704
Add Alternatives section to archive module README ( Fixes #705 )
2017-11-10 10:38:15 -08:00
Kaleb Elwert
c7dcd21c9e
Don't show ruby info if using system version
...
Based off a8fe1b3cb4
by @chauncey-garrett
2017-11-09 13:55:20 -08:00
Kaleb Elwert
7ebb5e9dda
environment: Fix logic around url quoting in zsh >= 5.1
...
Closes #1015 , Fixes #978
Thanks to @Eriner for pointing us in right direction.
The code for this comes from zim. This is the last commit with the code we're using:
537f076603 (diff-30465d78a41f73dc0f6967d3f34d7964)
Note that we need this workaround because we currently support back to
4.3.11.
I believe that originally came from here:
https://github.com/robbyrussell/oh-my-zsh/pull/4473
2017-11-06 11:58:05 -08:00
François VANTOMME
ff9b901394
Set key binding (^space) to expand all aliases including global ( #1500 )
2017-11-01 17:00:32 -07:00
Kaleb Elwert
4b0ecffaca
prompt: update pure to 1.6.0
...
Refs #1487
2017-10-29 23:32:14 -07:00
Kaleb Elwert
cbcbedd694
prompt: Add basic troubleshooting information for fonts
...
This is related to #1495 and a number of other issues which have been
filed about font issues.
2017-10-24 12:52:42 -07:00
Kaleb Elwert
109864429c
ssh: fix loading of ssh identities when none are explicitly defined
2017-10-18 17:30:16 -07:00
Jeff Widman
fb903cb067
Document support for macOS
...
This adds docs for b0c85eddf6
which was added in https://github.com/sorin-ionescu/prezto/pull/1376/
2017-10-19 23:17:14 -07:00
Manoel Vilela
6d5650eae7
[tmux] Avoid run tmux when the shell is executed on emacs
...
This avoid weird bugs to try running zsh through C-x M-x
and bug happens because obviously tmux is not designed to be
executed inside emacs.
2017-10-19 23:15:17 -07:00
Kevin Kirsche
25d8db301d
Clarify that brewu updates AND upgrades
...
As homebrew includes both an update and upgrade command, it is beneficial to clarify that this performs both, rather than just the update.
2017-10-09 11:15:25 -07:00
Kaleb Elwert
63310f6403
ssh: update SSH_ASKPASS workaround to more closely match what ssh-add needs
...
Fixes #1478
2017-10-04 13:41:45 -07:00
sergiorussia
1d0bee6098
Fix README.md for autosuggestions and history-substring-search ( #1471 )
2017-09-19 00:38:24 -07:00
Nicola Corna
9520f1be6f
archive: fix unrar-free and add support for unar ( #1383 )
...
* archive: fix unrar check when using unrar-free
unrar-free returns the error code 1 when run without arguments, thus
failing the presence check. Replacing the current presence check with
(( $+commands[unrar] )) fixes the problem.
* archive: add unar support for lsarchive and unarchive
No `archive` support with unar.
2017-09-18 16:27:31 -07:00
Greg Anders
cd703d3c3c
Add make to gnu-utility commands
2017-09-17 14:57:18 -07:00
Samantha McVey
752f64f085
Bind more unbound keys in viins and vicmd to nothing
...
Unbound keys in viins or vicmd mode have undefined results. Bind
two more of these to nothing to avoid this.
2017-09-17 14:55:22 -07:00
Andrew Breckenridge
34d4897d0e
Updates outdate Mac OS X to macOS
2017-09-07 11:30:05 -07:00
Diego Rabatone Oliveira
3faaffe7e9
Updating submodules
...
Updating `completition`, prompt `async` and `syntax-highlighting`. All
modules where checkout to their latest tag.
2017-09-06 11:39:43 -07:00
Kaleb Elwert
34482cb325
prompt: add documentation for return value display
2017-09-06 11:19:17 -07:00
Samantha McVey
2cfd366ba6
[prompt_sorin] Use ✘ and show return value for non-0 rtrns ( #1460 )
...
If you do not want it to show the return code, you can set:
`zstyle ':prezto:module:prompt' show-return-val false`
2017-09-06 11:14:35 -07:00
Samantha McVey
808d9d3579
Add zsh-help function for easily searching the zsh documentation ( #1360 )
...
* Add zsh-help function for easily searching the zsh documentation
Looks up things in the zsh documentation.
Usage: zsh-help [--all] search term(s)
Option --all will seach for the term anywhere, not just at the start of a
line. When not using --all it will search nicely for terms at the beginning
of the line, which in the zsh man pages is where terms that are explained
are located, allowing you to search the zsh man pages easily.
* Improve zsh-help to search section headings before other text
Provides a much easier way to search and access ZSH's manual. First checks for
terms at the start of the manual, then checks if it's at start of a line allowing
whitespace.
Clean up some of the code a bit and format it to have a proper header for the
zprezto project with author/email and description of the function.
2017-09-06 11:11:19 -07:00
Antoine Rahier
76388a8cd1
Pin powerlevel9k submodule to latest release (v0.6.4)
2017-08-31 18:31:09 -05:00
Antoine Rahier
6a8f1c6b16
Add powerlevel9k theme
2017-08-31 18:31:09 -05:00
Jeff Widman
ba0cb8afd8
Add missing highlighter to readme
...
This was added to `.zpreztorc` in 4f19700919
but forgot to add it here.
2017-08-29 16:54:12 -07:00
Jeff Widman
46de6fef77
Swap italics to code formatting and add hyperlink
2017-08-29 16:53:56 -07:00