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

1746 Commits

Author SHA1 Message Date
Kaleb Elwert
e52523204b Remove redundant style rules from CONTRIBUTING.md 2017-06-26 14:44:00 -07:00
Samantha McVey
961326f8e9 [editor] Set Delete key in vicmd mode to delete character
Delete key deletes character in vimcmd cmd mode instead of weird
default functionality. The default functionality in vicmd mode
is the Delete key will change the case of many of the characters
on the screen, which is not the default thing that vim does.

This could be confusing and frustrating to users, so set it to delete
a character instead.
2017-06-23 13:37:48 -07:00
Samantha McVey
7fe28574a8 [syntax-highlighting] Bump external repository to get bug fixes
ad522a0 driver: Fix printing error message to file when cannot resolve highlighters directory location
73cb832 'main': Highlight mismatched 'if'/'fi'.
be083d7 driver: Improve «unhandled ZLE widget 'foo'» error message.
237f89a 'main': Don't consider «$*» a glob.
835fec7 workaround for PAT_STATIC bug in zsh
9523d6d tests: zsh 5.4-to-be compatibility: Set a new "I am shooting myself in the foot" option.
aac4a44 driver: Fix duplicated slash in error message
4f49c4a docs: Update zplug install instruction
5efd062 tests: Add a regression test for issue #392 (aliases beginning with a '+' are lost).
67be621 tests: Move some code in preparation for next commit. No functional change.
74949c2 driver: Don't undefine aliases that begin with a '+', to workaround an upstream bug.
8d5afe4 driver: Be immune to 'alias' having been redefined.
76ea9e1 'main': Highlight possible history expansions in double-quoted strings.
50fbb5f docs: Update Homebrew link.
2dce602 driver: Be immune to weird aliases in the calling scope.
347cf0e 'main': Add regression test for previous commit.
5625e30 'main': Fix bug: no start_pos=$end_pos in comment short path
fed37a9 'main': Fix a bug concerning command word with embedded colon-space sequences.
626c034 Add FreeBSD port
3d74aa4 Add Fedora package
5398949 changelog: Update for changes pulled out of 0.5.x.
2017-06-22 10:35:44 -07:00
Samantha McVey
d101b0a319 [autosuggestions] Bump external repository to version v0.4.0
14179d8 Bump version
281ed9b v0.4.0 changelog updates
83129dd Make asynchronous suggestions disabled by default
a2f0ffb Enabling suggestions should not fetch a suggestion if buffer is empty
7d4a1d9 Add enable/disable/toggle widgets to disable suggestion functionality
e1959d0 Put in a general fix for #219 - Handling input from `zle -U`
c52c428 Fix issues with widgets wrapped by other plugins
ea505b0 Add a spec for unlisted widgets fetching a new suggestion
502fb4a Make tmux_socket_name public so you can access easily from binding.pry
ce36224 Use pry-byebug instead of pry for more functionality
39762ec Set up circle ci
468b740 Test should be passing block to RSpec wait_for
c9a51e0 Handle dashes at the beginning of commands
48a21bf [cleanup] Remove an extra newline
4afbbba We only need to run the feature detection if starting async
e3fa4e4 Don't do anything but re-bind widgets on each precmd
2cd99e6 Add a test for modifying widget list vars after sourcing plugin
c70d685 Clean up widget list spec
255359d Use `+=` to be a bit more true to the spec language
4321fc0 We need to bind on every precmd to ensure we wrap other wrappers
75e8505 Gracefully handle being sourced multiple times
a0fcd81 Destroy zpty on load if it already exists
39ca3da Use a different name for feature detection zpty
dcce973 Remove support for long-deprecated options
0c940e7 Don't bind any zle-* methods
23ef16c Do not show suggestions if the buffer is empty
9381445 Fix tests
c4bfd8e Need to prevent zpty feature detection from HUPing existing zptys
c959408 Only wait a max of 2 seconds for content to match after clearing screen
06fca77 Readme updates for v0.4.0
9feac57 Do not show any error output from async zpty server process
ed8056c Lots of async changes
38eb7cd Update license date
64e7ec5 Rename internal term session method
98f926d Clean up TerminalSession constructor a bit
51e8755 TerminalSession methods return self to support chaining
5151adf Make TerminalSession#clear block until the screen is cleared
2c465a9 Rename async pty name config var
e3eb286 Lots of little async cleanups
c342587 Wait for the terminal.clear to go through before continuing
89dd69d Add pry gem for debugging support
40bb2e7 little cleanup
16666da Handle versions of zsh where zpty does not set REPLY to fd of opened pty
f33b605 Move async initialization into `start` function to keep in one place
78ba071 Add feature detection
3f57198 Only bind widgets once, on initial sourcing
2dbd261 Allow configuring of zsh binary to run integration tests against
6c5cd42 Go back to tracking last pid because `kill %1` didn't seem to be working
54e1eee Optimize case where manually typing in a suggestion
21d9eda Wrap suggestion fetch command in parens to actually run in background
50e6832 Escape the prefix passed into the match_prev_cmd strategy
0305908 Revert `fc` usage in calculating suggestion
8e06a54 Add test for string with "\n" in it
b3208b0 Pass the chosen strategy into the suggestion server pty
ab27425 Quote the suggestion to support sh_split_word option
e5a5b0c Output only newlines in the pty
0337005 Disable word splitting while reading to preserve whitespace
b530b0c Use `zpty -r` with pattern matching to fetch suggestion
5c891af Reset zsh options inside pty (from zsh-async)
e33eb57 Send only the prefix to the suggestion server
fba20b0 Use %1 instead of tracking pid
0308ed7 Rename worker to server
e72c2d8 add a bunch of comments
ab8f295 First pass at async functionality
debbffc Add rspec test around accepting suggestions
4850119 Add separate test task for RSpec
c22ab0e Implement suggestion integration tests in RSpec + tmux
07a6768 Add TerminalSession helper for managing a tmux session
e6591d5 Add RSpec for high-level integration testing
af671fb Add ruby settings to editor config
2017-06-22 10:35:44 -07:00
Samantha McVey
f8f4953dce [completion] Bump external repository to version 0.25.0
8cdf60b Updated rkt commands and arguments
f9d7d9d Implemented autocompletion for rkt pods and images (Fixes #465)
9feab39 Added completion for yarn
a63a098 Update completion for mix, add completion for mix test, fix completion for mix help
6285e0e Add completions for bitcoin-cli
0ed2e86 Set proper description for gist -r
df5a3a1 Try to follow the style guide
d7a2972 Add gist completion for read flag
b0cb2ad Added _rclone
b7c11f4 drop ripgrep completion
907cba3 Update repository infos
ccb53f4 Support newer versions of OpenSSL
f02dc8f add licence information
ceaff68 Add completion for ffind
2017-06-22 10:35:44 -07:00
Diego Rabatone Oliveira
7c172fc9a7 Fix #1337 by removing top alias to htop. (#1341)
Fixes #1337
2017-06-21 14:37:03 -07:00
Matthew Crenshaw
ecc34e0051 Move virtualenv auto-switch cwd hook optional loader out from inside unrelated if statement (#1338) 2017-06-21 12:30:57 -07:00
Nargoth
1c041c0433 fixed vivisual key binding (#1148)
Fixes #1236
2017-06-19 15:52:54 -07:00
Samantha McVey
d9a1380263 Change print to printf in init.zsh error (#1335)
When my zsh had issues, and I was debugging it, this line would
end up being run but no output would be made to the screen.

Changing it from print to printf caused the error to properly be
displayed.
2017-06-19 14:18:14 -07:00
Ihab Soliman
a75c63768c Add git aliases for signing commits (#1126) 2017-06-19 01:40:44 -07:00
Kaleb Elwert
a0541ce7a5 Default sorin theme to /tmp when TMPDIR is not set
Fixes #1331
2017-06-16 10:37:54 -07:00
Alexander Neumann
2f20a80f72 sorin theme: Use a proper temp file for async data 2017-06-13 10:36:35 -07:00
Alexander Neumann
5bcc223e95 zprofile: Use non-random static TMPDIR
Closes #1319
2017-06-13 10:36:35 -07:00
Luis Fernando Milano Oliveira
14670f40f0 replace the deprecated abs call in the pacu alias. 2017-06-08 11:10:07 -07:00
Kaleb Elwert
7ae7a0266c Update python docs to include info on virtualenv auto-switching 2017-05-30 17:29:32 -07:00
Matthew Crenshaw
08e39a587f Python virtualenv auto workon cwd hook (#1300)
* Command to activate virtualenvs on changing directory

Enables automatic activation of a virtualenv when jumping into a directory
This is done by looking in the current directory for a file or directory
named `.venv`. If it's not found in the current directory its parents will
also be examined. `.venv` can be either:
    1. A file containing the name of a virtualenv found in $WORKON_HOME
    2. A directory containing bin/activate (meaning that the directory is
       assumed to be a virtualenv.)
If $WORKON_HOME is set it is assumed that virtualenvwrapper is installed
and the `workon` command will be issued.
2017-05-30 17:26:18 -07:00
Kaleb Elwert
658fffb3a6 Allow ssh module to run on OSX 2017-05-05 09:58:19 -07:00
Kaleb Elwert
6975b119b6 Change the zstyle config name for #607 2017-05-02 18:02:28 -07:00
Matt Henkel
d02c2951b3 Add the ability to specify tmux session name 2017-05-02 17:57:14 -07:00
Kaleb Elwert
871b15663c Cache the completion for a quicker startup
The original idea was by @samjonester in #1210. This version aims to avoid
relying on the stat or date programs because they have different flags depending
on the OS and if it uses BSD or GNU coreutils.
2017-05-02 17:50:24 -07:00
Fernando H-T Goldáraz
42d9b78907 broken $path and $PATH if nodenv exists (#1315)
This change fixes a bug where no command can be found
(e.g. `ls`) due to the $path array being set to two elements,
one of them with all the previous paths separated by spaces.
This makes zsh break $PATH, instead of colons there are
spaces, and nothing works.

The idea is to have the array be set leveraging the word splitting
that we usually are told to avoid by quoting.
2017-05-02 11:38:19 -07:00
Kaleb Elwert
2794f95d3e Use the lazy-loaded version of virtualenvwrapper if available
This shouldn't cause problems for anyone and should improve startup times for
anyone using python with virtualenvwrapper because it will wait for the first
command to load rather than right away.
2017-05-02 10:08:06 -07:00
Kaleb Elwert
46a1ffaf7e Add gbr and gbR aliases to module readme 2017-05-01 09:43:12 -07:00
Kyle Rich
3d7a8c2870 Add some new git aliases, modify a few more. (#1301)
* Add some new git aliases, modify a few more.
* Add `gbV` command to show more verbose git branch info.
* Add `gcam` to make it possible to execute `gca; gcm '<your message
  here>'` more simply.
* Add `gii` command to temporarily untrack (ignore) a file.
* Add `giI` command to uningore a file.
* Change alias of `gbl` to `gbv`. Personally, I think aliases that
  include a switch in the command should include the switch in the alias
  if possible.  This makes them easier to remember.
* Change alias of `gbL` to `gba`. I think the `-a` switch is more
  salient to what this alias does than the `-v`.  Furthermore, with this
  PR there are already `gbv` and `gbV` aliases, so those are out.
* Change implementation of `gCl` alias to use built-in capabilities of
  git, rather than sed.
* Rename gbx and gbX to gbd and gbD respectively
* Mostly revert alias changes
* Add gbr and gbR aliases to gbm and gbM commands
2017-05-01 09:41:17 -07:00
Kaleb Elwert
1050a0a290 Add better support for pyenv virtualenvs 2017-05-01 01:04:16 -07:00
Kyle Rich
723b3812e1 Convert long-pwd to pwd-length 2017-04-27 13:33:40 -07:00
Kyle Rich
7c509a264f Add zstyle option to show pwd in long format 2017-04-26 11:30:10 -07:00
Indrajit Raychaudhuri
850ad42c96 rsync: Update reference to Bombich's rsync page
Seems like Bombich's rsync page moved with the previous link doing 404.
Adjusted to fix this.
2017-04-26 13:02:08 -05:00
Indrajit Raychaudhuri
4f87376b50 Add support for 'pip', 'pip2', 'pip3' completion
Since `pip completion --zsh` might be slow, we cache it beforehand.
The implementation is along the lines of 'npm' completion in 'node' module.
2017-04-23 23:03:53 -05:00
Mathieu Chataigner
876f426581 Update ssh module for multi session hosts
create ssh_agent_env with current user id in file name to avoid collisions with other users
create ssh_agent_sock with current user id in file name to avoid collisions with other users
2017-04-18 02:48:27 -07:00
Sudarshan Wadkar
f15557159a New alias gfa=git fetch --all for git module
Also includes an updated README.md !
2017-04-18 02:44:01 -07:00
Guillaume Subiron
81b41d2367 Add utility alias for pydf 2017-04-18 02:37:23 -07:00
delphinus
cf7d3cffbd Add perl-info function & plenv subcommand aliases (#1303)
* Add perl-info function
* Add alias for plenv subcommands
* Load perlbrew if needed
* Load plenv if needed
* Use PERLBREW_ROOT as priority to detect Perlbrew
2017-04-18 01:57:35 -07:00
Matt Hamilton
fb37539f43 archive: add archive function 2017-04-17 22:44:47 -07:00
Khai Do
7242b4ed49 archive: add support for *.jar files (#1302) 2017-04-17 22:04:28 -07:00
Patrick Bos
c38c2dd909 Move python-info call in paradox from preexec to precmd 2017-04-15 16:44:05 -07:00
Kaleb Elwert
600b4cc9e6 Add missing alias to utility README 2017-04-15 14:16:15 -07:00
Kaleb Elwert
38f0d2f34e Rework diff function
This removes --unified from the default options to make it possible to pass -y
without worrying about conflicting output formats.

diffu has also been added as an alias to make it easier to get output as a
unified diff.

Fixes #1231
2017-04-15 14:06:07 -07:00
Kaleb Elwert
40853f23c2 Remove additional newlines in issue and pull request templates 2017-04-15 01:47:58 -07:00
Kaleb Elwert
a622652f73 Add initial issue and pull request templates 2017-04-15 01:45:46 -07:00
Kaleb Elwert
a8ce3da782 Add note to CONTRIBUTING.md about zstyle 2017-04-15 01:36:15 -07:00
Kaleb Elwert
19d11ab1d0 Add code style to CONTRIBUTING.md
Closes #1296
2017-04-15 01:14:12 -07:00
Kaleb Elwert
e606b09c9e Update is-callable to also check builtins
Fixes #1037
2017-04-13 04:05:20 -07:00
Kaleb Elwert
d035e4cf1e Fix indentation in README 2017-04-13 03:27:59 -07:00
François VANTOMME
8a4333103d Feat (docker): add docker aliases (#1147)
Thanks to @malikoth and @saoula for their input.
2017-04-13 03:18:54 -07:00
François VANTOMME
bb168c5881 Doc (ruby): add doc on bundle clean alias 2017-04-13 03:04:21 -07:00
François VANTOMME
7c64584629 Add bundle clean alias 2017-04-13 03:04:21 -07:00
Kaleb Elwert
7011031a87 Don't use a deprecated argument as a python example
Thanks to @jeffwidman for pointing this out

Closes #1141
2017-04-13 03:02:07 -07:00
Kaleb Elwert
2e20eb8571 Add note about working around preexisting runcoms
Closes #955
2017-04-13 02:53:07 -07:00
Anton Löfgren
5c0e68f75f completion: Cap max-errors at 7 to avoid hanging (#953)
7 is pretty arbitrarily chosen, but seems like a reasonable tradeoff, at
least the completion no longer shows symptoms of exponential
time-growth when trying to complete something completely wrong.

This fixes #946.
2017-04-13 02:47:51 -07:00