Kaleb Elwert
0d6e7de031
syntax-highlighting: Update README to clarify module load order
...
Fixes #1584
7 years ago
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.
7 years ago
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.
7 years ago
Jeff Widman
ae23bedd24
Document macOS support for `command-not-found`
...
Document macOS support for `command-not-found`
7 years ago
Casey McGinty
2995b7d0c8
Update cache files when .zpreztorc file is modified
...
Fixes #1581
7 years ago
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.
7 years ago
Kaleb Elwert
f8f93d4b91
command-not-found: Directly source homebrew command-not-found handler
...
Fixes #1577 , Fixes #1451
7 years ago
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 .
7 years ago
Kaleb Elwert
300102897a
Add proper prompt_opts to smiley prompt
7 years ago
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.
7 years ago
François VANTOMME
1b441e7654
Feat (git): add an alias displaying the commits yet to be applied to upstream ( #1565 )
7 years ago
Kaleb Elwert
443021237a
Allow users to easily define LS_COLORS and LSCOLORS ( #1546 )
7 years ago
Roman Peshkov
a0977cb92e
Ignore tmux autostart in vscode terminal
7 years ago
Diego Rabatone Oliveira
b3c27bb164
Replace git with 'command git' ( #1551 )
...
to improve performance if git is aliased to hub or other wrappers.
7 years ago
bryndin
e00562e7cf
python: autoload add-zsh-hook when needed ( #1549 )
...
Fixes #1550
7 years ago
Kaleb Elwert
742260b55f
Remove support for pydf to make options more consistent
...
Closes #1388
7 years ago
Philipp A
580ddc44f3
Add another shadow to the git aliases
...
Originally submitted in https://github.com/sorin-ionescu/prezto/pull/979
7 years ago
Rick Jones
4325f74f9d
git: add tag aliases
...
Originally submitted in https://github.com/sorin-ionescu/prezto/pull/1094
7 years ago
John P. Neumann
6d00fdf8c8
Only call reset-prompt when the appropriate zstyle is set
...
Resolves issue #1524 (#1548 )
7 years ago
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).
7 years ago
Kaleb Elwert
d7622624aa
autosuggestions: add basic history troubleshooting information
7 years ago
Kaleb Elwert
282b478fd2
Add vi-pound-insert as # in vicmd mode
...
Fixes #1534
7 years ago
Kaleb Elwert
904eef5fa5
Add `pound-toggle` zle widget to work around the buggy built-in `pound-insert`
...
Refs #1533 , #1534
7 years ago
Kaleb Elwert
906ac99e20
Move INTERACTIVE_COMMENTS from editor to environment
7 years ago
Maxim Baz
0b62639ad5
Set INTERACTIVE_COMMENTS by default
...
This allows using # to comment lines in the interactive shell
7 years ago
Kaleb Elwert
54d2a76731
pacman: fix mistake where aurutils should be used, not aurtools
7 years ago
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
7 years ago
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
7 years ago
Kaleb Elwert
82d3265ad5
utility: remove usage of noremoteglob until bugs can be fixed
...
Fixes #1443 , #1521
7 years ago
Kaleb Elwert
66bfe9be27
autosuggestions: ensure external submodule is the latest version
7 years ago
Kaleb Elwert
83085e5231
python: remove zstyle setting in favor of third party environment variable
...
Refs #1519 , #1520
7 years ago
Kaleb Elwert
4c31107e3b
python: only override virtualenv python if not set
...
Fixes #1520
7 years ago
Kaleb Elwert
d8d6b4d70a
python: only override virtualenvwrapper python when needed
...
Fixes #1519
7 years ago
Kaleb Elwert
e021adeb4a
python: make a reasonable guess about virtualenvwrapper python location
...
Fixes #1416
7 years ago
Brian K. Christensen
aa0395244d
Update zsh-autosuggestions to v0.4.2
7 years ago
Kaleb Elwert
3ab569ff78
python-info: add support for pyenv and only do extra work if the prompt needs it
7 years ago
Kaleb Elwert
3a0bd28e0c
ruby-info: only run commands if the prompt needs the info
7 years ago
Kaleb Elwert
64d57ec71f
python-info: avoid setting python_info[version] if python is not on the PATH
7 years ago
Kaleb Elwert
b407ba0c3a
python-info: provide python version info for theming
...
Closes #1173
Closes #958
7 years ago
Kaleb Elwert
7cdde9b631
pacman: Update README to recommend pacaur over yaourt
7 years ago
Kaleb Elwert
8ed2c78de8
editor: Avoid prompt redisplay on completion when there is no indicator
...
Refs #1512
7 years ago
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
7 years ago
Kaleb Elwert
df3468e957
Update zsh-async to v1.6.0
7 years ago
Kaleb Elwert
65bcbae8bc
Update zsh-autosuggestions to v0.4.1
7 years ago
Kaleb Elwert
221c6cd128
Remove BRACE_CCL as default
...
Fixes #1162
7 years ago
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.
7 years ago
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.
7 years ago
Kaleb Elwert
ad79f78fbe
prompt: fix async usage in sorin prompt
...
Fixes #1509
7 years ago
Kaleb Elwert
e159c1a439
prompt: update sorin prompt async usage to be closer to pure
7 years ago
Kaleb Elwert
f02dc1af57
gpg: potential fix for #1252
7 years ago
Kaleb Elwert
105e9658bb
gnu-utility: avoid overriding shell builtins
...
Fixes #1263
7 years ago
Kaleb Elwert
948d9b3aa5
Store cache files in a user-writable location
...
Fixes #1122
7 years ago
Kaleb Elwert
79927ac73a
editor: Fix Home and End in vicmd mode
...
Fixes #1160
7 years ago
Kaleb Elwert
485ad9e704
Add Alternatives section to archive module README ( Fixes #705 )
7 years ago
Kaleb Elwert
c7dcd21c9e
Don't show ruby info if using system version
...
Based off a8fe1b3cb4
by @chauncey-garrett
7 years ago
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
7 years ago
François VANTOMME
ff9b901394
Set key binding (^space) to expand all aliases including global ( #1500 )
7 years ago
Kaleb Elwert
4b0ecffaca
prompt: update pure to 1.6.0
...
Refs #1487
7 years ago
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.
7 years ago
Kaleb Elwert
109864429c
ssh: fix loading of ssh identities when none are explicitly defined
7 years ago
Jeff Widman
fb903cb067
Document support for macOS
...
This adds docs for b0c85eddf6
which was added in https://github.com/sorin-ionescu/prezto/pull/1376/
7 years ago
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.
7 years ago
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.
7 years ago
Kaleb Elwert
63310f6403
ssh: update SSH_ASKPASS workaround to more closely match what ssh-add needs
...
Fixes #1478
7 years ago
sergiorussia
1d0bee6098
Fix README.md for autosuggestions and history-substring-search ( #1471 )
7 years ago
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.
7 years ago
Greg Anders
cd703d3c3c
Add make to gnu-utility commands
7 years ago
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.
7 years ago
Andrew Breckenridge
34d4897d0e
Updates outdate Mac OS X to macOS
7 years ago
Diego Rabatone Oliveira
3faaffe7e9
Updating submodules
...
Updating `completition`, prompt `async` and `syntax-highlighting`. All
modules where checkout to their latest tag.
7 years ago
Kaleb Elwert
34482cb325
prompt: add documentation for return value display
7 years ago
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`
7 years ago
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.
7 years ago
Antoine Rahier
76388a8cd1
Pin powerlevel9k submodule to latest release (v0.6.4)
7 years ago
Antoine Rahier
6a8f1c6b16
Add powerlevel9k theme
7 years ago
Jeff Widman
ba0cb8afd8
Add missing highlighter to readme
...
This was added to `.zpreztorc` in 4f19700919
but forgot to add it here.
7 years ago
Jeff Widman
46de6fef77
Swap italics to code formatting and add hyperlink
7 years ago
Jeff Widman
37c61a058c
Document that `fasd` is now bundled with prezto
...
Document that `fasd` is now bundled with prezto (19990c8025
) and that it's a fallback to a manually installed version (04bfb5131b
).
7 years ago
Jeff Widman
38fb41d66e
Use backticks rather than italics for paths
...
This is more typical with what I observe elsewhere
7 years ago
Jeff Widman
727f094b0f
[python] cleanup readme formatting
...
Anyone want some backticks? :-)
7 years ago
Jeff Widman
8fa14ed72f
Drop `easy_install` in docs, everyone now uses `pip` ( #1436 )
7 years ago
Jeff Widman
58bcc43bf9
Fix typo
7 years ago
Jeff Widman
98f37b3c2f
Update reference to Bombich's rsync
7 years ago
Foo Chuan Wei
a7fb175b20
Fix English mistakes in the autosuggestions module README.md ( #1444 )
...
* Change 'conjuncture' to 'conjunction'
* Fix ambiguous pronoun references
7 years ago
Greg Anders
9c528efa60
Explicitly set PYENV_ROOT
7 years ago
Indrajit Raychaudhuri
83ab314b77
[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.
7 years ago
Indrajit Raychaudhuri
5ffc8a07f1
[python] Ensure availability of virtualenvwrapper file before sourcing it
7 years ago
Jeef
cab4ac54ec
Update prompt_sorin_setup
...
Addressing a type - and switching from a custom orange to yellow (from default color list) for prompt.
7 years ago
Jeef
4c272a20f6
Update prompt_sorin_setup
...
Moved ` ` after the virtual env info into the `zstyle` call and out of `RPROMPT`
7 years ago
Jeef
5b244eeadb
Update prompt_sorin_setup
...
Added python support
7 years ago
Zach Whaley
3194442759
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
7 years ago
Jeff Widman
e6af5f2e91
Fix typo
7 years ago
Kaleb Elwert
dd1133d32e
prompt: remove unneeded prompt_opts from smiley prompt
7 years ago
Kaleb Elwert
2f867d6f22
Revert "prompt: remove prompt_sp from prompt_smiley_setup as it is not needed"
...
This reverts commit 24e5e49ff2
.
7 years ago
Kaleb Elwert
24e5e49ff2
prompt: remove prompt_sp from prompt_smiley_setup as it is not needed
7 years ago
Kaleb Elwert
730fc4690e
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.
7 years ago
Indrajit Raychaudhuri
5e295b0835
[prompt] Remove spurious duplicate section
...
Remove duplication 'Prompt Display Length' section.
Also, adjust wrapping for `~`.
7 years ago
Indrajit Raychaudhuri
8d7e3e27c7
[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.
7 years ago
Indrajit Raychaudhuri
a60499f933
[general] Miscellaneous cleanup and formatting
7 years ago
Mauro Locatelli
7b5196ca66
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
7 years ago