1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-13 00:41:12 +00:00
Commit Graph

1760 Commits

Author SHA1 Message Date
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
Joel Kuzmarski
e2785cc246 Better TTY logic for zlogin and zlogout 2017-12-04 11:38:16 -08:00
Kaleb Elwert
029414581e Add support for loading plugins in the oh-my-zsh format
Closes #1484
2017-12-03 00:41:48 -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
Denys Digtiar
64d6ae805c 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`
2017-11-27 20:27:41 -08:00
Kaleb Elwert
221c6cd128 Remove BRACE_CCL as default
Fixes #1162
2017-11-14 00:34:19 -08:00
Yutian Li
cbe4815189 Allow module to be a symbolic link to a non-empty directory (#1510) 2017-11-13 16:41:54 -08:00
Kaleb Elwert
a3f40a7479 Fix README formatting 2017-11-12 17:54:49 -08:00
Kaleb Elwert
d725233bb1 Add basic documentation on external module directories 2017-11-12 17:53:10 -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
ce349dff81
Allow modules to be loaded from multiple places (#1458)
* Allow modules to be loaded from multiple places
* Add setting for user specified module dirs

This is initial work for the contrib repo, mentioned in #1424
2017-11-12 16:01:39 -08:00