Commit Graph
100 Commits
Author SHA1 Message Date
Marc CornellàandGitHub f66595ff9e stack: add README (#7363) 2018-10-28 13:55:01 +01:00
Marc CornellàandGitHub 99b94bbeac grails: add README (#7362) 2018-10-28 13:51:45 +01:00
Marc CornellàandGitHub c87eea8bdb add link 2018-10-28 13:51:26 +01:00
Marc CornellàandGitHub 4e59ba755c move path section after plugin-enabling section 2018-10-28 13:50:34 +01:00
Marc CornellàandGitHub 9db3c94553 git-flow-avh: add README (#7360) 2018-10-28 13:39:50 +01:00
Marc CornellàandGitHub b6f629dc1c delete not applicable comments 2018-10-28 13:39:26 +01:00
Marc CornellàandGitHub 8f777f30bb add git completion requirements notice 2018-10-28 13:37:55 +01:00
Marc CornellàandGitHub 5ca3efa17f kops: add README (#7358) 2018-10-28 13:22:53 +01:00
Marc CornellàandGitHub a58dc32323 delete duplicate documentation 2018-10-28 13:22:26 +01:00
Marc CornellàandGitHub 3752700a5a add description and author 2018-10-28 13:21:58 +01:00
Marc CornellàandGitHub 1ee6f2614c symfony2: add README (#7329) 2018-10-24 16:02:13 +02:00
Marc CornellàandGitHub 50208f5c42 fix copy errors 2018-10-24 16:01:42 +02:00
Marc CornellàandGitHub 951e649427 gpg-agent: add README (#7313) 2018-10-19 19:05:49 +02:00
Marc CornellàandGitHub ca50dfda9f add link to documentation 2018-10-19 18:54:26 +02:00
Marc CornellàandGitHub fccac1ddbf gitignore: add README (#7312) 2018-10-19 18:46:54 +02:00
Marc CornellàandGitHub 6a536f88aa reword and fix formatting 2018-10-19 18:46:29 +02:00
Marc CornellàandGitHub 2fce9a4d44 agnoster: use %n instead of $USER to fix quoting
Fixes #7268

With `$USER`, we'd need to quote it in case special characters like `\` are present in
the $USER value, like if the user is part of an AD domain.

With `%n` the quoting is done automatically by zsh.
See http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html#Login-information
2018-10-17 20:53:07 +02:00
Marc CornellàandGitHub ea7b886f70 composer: add README (#7291) 2018-10-17 20:35:16 +02:00
Marc CornellàandGitHub f8ca1464b9 reword 2018-10-17 20:34:58 +02:00
Marc CornellàandGitHub 489be2452a textmate: add README (#7267) 2018-10-14 19:41:37 +02:00
Marc CornellàandGitHub 793ee0ffa8 man: add README (#7276) 2018-10-14 19:36:57 +02:00
Marc Cornellà 3c9942c488 autojump: move README to right place 2018-10-09 20:34:47 +02:00
Marc CornellàandGitHub 999d3ddf4c colorize: fix check for pygmentize (#7250) 2018-10-08 17:56:44 +02:00
Marc Cornellà 3a6fa9149b Fix tilde substitution in theme prompts
These themes used an adhoc substitution of $HOME for tilde
in $PWD, but it's better to use '%~' and is less error prone.

See #7160
2018-10-07 23:01:25 +02:00
Marc CornellàandGitHub d0d4c654dd gem: add README (#7224) 2018-10-04 23:14:01 +02:00
Marc CornellàandGitHub 13b8757044 change title to h1 2018-10-04 23:13:46 +02:00
Marc CornellàandGitHub 6c721e6f95 add alias descriptions 2018-10-04 23:13:16 +02:00
Marc CornellàandGitHub 9b19ca2871 gulp: add README (#7200) 2018-10-03 17:56:47 +02:00
Marc CornellàandGitHub 8bc176f124 add link 2018-10-03 17:56:27 +02:00
Marc CornellàandGitHub 01de53fff3 tmuxinator: add README (#7189) 2018-10-02 21:49:24 +02:00
Marc CornellàandGitHub 3ed19ce45e added completion and link 2018-10-02 21:49:06 +02:00
Marc CornellàandGitHub ac3b345365 dircycle: trigger appropriate hooks after directory change (#7161)
This commit triggers precmd and chpwd hook functions iff we changed directory.

This has the same behavior as zsh's hook function execution, which tries to run
the functions in the order specified and silently ignores any function that
does not exist.

See http://zsh.sourceforge.net/Doc/Release/Functions.html#Hook-Functions

Also moved duplicate nopushdminus logic to the `switch-to-dir` function.
2018-10-02 21:31:26 +02:00
Marc CornellàandGitHub 40a60d2847 chruby: add "system" to completion list if available (#5280)
Detect system Ruby in default `PATH`, and provide "system" completion if found.

Tested with [the Dockerfile](https://gist.github.com/franklinyu/b8deda6a5093a17b575679b5808b371f).
2018-10-01 16:50:17 +02:00
Marc CornellàandGitHub 7f96f4476c jenv: update README 2018-10-01 12:14:15 +02:00
Marc CornellàandGitHub b4007b5400 git-auto-fetch: small README fixes 2018-09-26 23:59:57 +02:00
Marc CornellàandGitHub 6bd95ddbdc add plugin: git-auto-fetch (#5477) 2018-09-26 23:56:58 +02:00
Marc CornellàandGitHub e107b85e3a agnoster: fix prompt_status error (#6450)
This commit fixes the runtime error that says:

  prompt_status:2: symbols: attempt to assign array value to non-array

It trips over a local array which is not properly declared.
2018-09-26 17:23:31 +02:00
Marc CornellàandGitHub a3d13eb76a fix invalid syntax in old zsh versions 2018-09-26 17:19:59 +02:00
Marc CornellàandGitHub 14fead0964 vi-mode: disable displayed mode on startup
This change had the unintended consequence of overriding the functions to ensure
that application mode was set to use $terminfo sequences, introduced in #6449.

Fixes #7137
2018-09-24 18:52:11 +02:00
Marc CornellàandGitHub 096ef3e6a7 python: remove mypy caches on pyclean (#7151)
Remove Optional Static Type Checker's (mypy) cache files
2018-09-24 13:39:06 +02:00
Marc Cornellà 4d940109e3 misc: remove execution permission from various files 2018-09-15 23:57:12 +02:00
Marc Cornellà 5a729f6667 lib: fix history wrapper when passing numbers
If a number is passed without explicitly passing `-l`, it will now behave
as if using the history builtin, instead of throwing an error.
2018-09-15 22:56:12 +02:00
Marc CornellàandGitHub fe5fe81c8c lib: quote arguments to env_default
Fixes #7117
2018-09-09 19:50:23 +02:00
Marc CornellàandGitHub f75d096c1a lib: small change to git_compare_version
Fixes #7118
2018-09-08 21:35:03 +02:00
Marc CornellàandGitHub 69e637c355 fasd: use xdg-open in o alias back again
Fixes #6314
2018-09-03 17:13:18 +02:00
Marc CornellàandGitHub 9f1ffc64f1 vi-mode: reset-prompt if zle is active (TRAPWINCH)
Fixes zle errors when resizing:

  TRAPWINCH:zle: widgets can only be called when ZLE is active
2018-08-31 21:18:18 +02:00
Marc CornellàandGitHub caa936593a Merge pull request #7079 from mcornella/refactor-trapd00r-theme
Refactor trapd00r theme
2018-08-25 14:00:19 +02:00
Marc CornellàandGitHub 2bb10441da nyan: deprecate plugin with removal notice
Fixes #6826
2018-08-23 20:28:20 +02:00
Marc Cornellà b70a703a09 trapd00r: clean up the script 2018-08-20 18:15:49 +02:00
Marc Cornellà e972624997 trapd00r: simplify logic and optimize for loop
This version splits the `$PWD` by the slashes and prints the path
directory by directory, printing the separators as before.
2018-08-20 18:03:41 +02:00
Marc Cornellà b4c8b60bb4 trapd00r: change more slowly between yellows
Also refactor the logic
2018-08-20 17:55:22 +02:00
Marc Cornellà 3d1719c618 trapd00r: optimize reset of foreground colors 2018-08-20 17:50:11 +02:00
Marc Cornellà 4774bc62d5 trapd00r: look for 256-color support, not $DISPLAY
Checking if the terminal supports 256 colors is better suited for
our purpose. Checking if `$DISPLAY` is set doesn't tell us if our
colors will be displayed correctly.
2018-08-20 17:45:36 +02:00
Marc Cornellà 1d26e2ab6f trapd00r: convert perl script to zsh
Used color encodings from
https://metacpan.org/source/WOLDRICH/Term-ExtendedColor-0.224/lib/Term/ExtendedColor.pm
2018-08-20 17:37:26 +02:00
Marc CornellàandGitHub fceae90219 jenv: fix brew directory search
`brew --prefix jenv` doesn't ensure jenv is installed so we have to recheck if the
bin folder is still there.
2018-08-19 22:33:44 +02:00
Marc CornellàandGitHub be65adc6c3 git-extras: update completion (2018-05-24 0f76863) 2018-08-19 21:36:21 +02:00
Marc CornellàandGitHub 3edd424af2 jenv: small fix 2018-08-19 19:43:35 +02:00
Marc Cornellà 873dc9cfb8 jenv: update README 2018-08-19 19:41:49 +02:00
Marc Cornellà cb7a3e38aa Merge branch 'jburwell/jenv-plugin'
Closes #3406
Closes #4972
Closes #4523
Closes #5964
2018-08-19 19:36:52 +02:00
Marc Cornellà 3a822bb5fd jenv: refactor and optimize logic 2018-08-19 19:36:46 +02:00
Marc CornellàandGitHub af1709cfdc kubectl: use kubectl to define aliases
This prevents conflicts with other utilities named k (see #6408).
2018-08-13 22:07:07 +02:00
Marc CornellàandGitHub f2f078a1bb pass: update completion (2018-08-03) 2018-08-09 20:17:43 +02:00
Marc CornellàandGitHub 2c1ff85bb2 core: fix alias_value function
Fixes #5835
2018-08-09 19:49:02 +02:00
Marc CornellàandGitHub 052a6dbd16 docker-machine: add official completion
Fixes #6962
2018-08-09 19:24:03 +02:00
Marc CornellàandGitHub 60db5cdb58 tmux: fix invalid syntax on old zsh versions
First reported on https://github.com/robbyrussell/oh-my-zsh/commit/f584de5930467fd53e8b7d2e51f5227bc405e4b2#r29984052
2018-08-09 17:19:40 +02:00
Marc CornellàandGitHub 91d55dce11 bundler: update README with latest changes 2018-08-08 13:36:27 +02:00
Marc Cornellà c781d708da dotenv: test and warn of incorrect.env syntax
Fixes #6337
2018-08-08 00:05:34 +02:00
Marc Cornellà 9ecde7f732 dotenv: call function on startup
Fixes #7017
2018-08-07 23:54:07 +02:00
Marc CornellàandGitHub 2991f237ae bundler: allow aliases in bundle exec
This means that if you have, for example, `alias rs='rails server'`, you can
run `be rs` and have it expanded to `bundle exec rails server`.

Fixes #5818
2018-08-07 21:04:09 +02:00
Marc Cornellà 76d3eedf7f tmux: fix regression after f584de5
Fixes #7041
2018-08-07 00:40:18 +02:00
Marc Cornellà 54055c4530 Merge branch 'apjanke/tmux-detabify-source'
Closes #4412
Fixes #4425
2018-08-03 22:13:58 +02:00
Marc Cornellà f584de5930 tmux: refactor and simplify tmux function logic 2018-08-03 22:13:48 +02:00
Marc Cornellà 106f826075 Revert "add -F and -X to default $LESS environment variable (#6611)"
This reverts commit 9544316ef9.

This setting broke mouse / touchpad scroll on programs using `less` output
due to it not using the alternate screen buffer.

Fixes #7025
2018-08-02 21:21:20 +02:00
Marc Cornellà a1448e9f8a example: move example theme to custom folder 2018-07-19 23:02:25 +02:00
Marc CornellàandGitHub d302e3eebe bundler: fix bundle version git error
It seems that `bundle version` calls git to know the commit sha, while `bundle --version` only shows the version of bundler.

Fixes #6988
2018-07-18 23:34:38 +02:00
Marc Cornellà 783ce457af Merge branch 'update/yarn-plugin' 2018-07-11 21:44:13 +02:00
Marc Cornellà 4c0b82b482 yarn: add README 2018-07-11 21:42:31 +02:00
Marc Cornellà 344b13c4a5 yarn: add aliases for common commands
Fixes #5722
Fixes #5864
Fixes #5920
Fixes #6566
Fixes #6579
Fixes #6686
Fixes #6740
2018-07-11 21:42:31 +02:00
Marc Cornellà 1a657c6c4d yarn: use zsh-completions completion (ff73f40)
Version: ff73f40 (2018-05-02)

Fixes #5859
Fixes #5878
Fixes #5983
Fixes #6013
2018-07-11 21:42:31 +02:00
Marc CornellàandGitHub 9711d8f731 Rename kube-ps1.zsh to kube-ps1.plugin.zsh 2018-07-02 17:04:09 +02:00
Marc Cornellà f898ada8e3 open_command: fix and improve command for WSL
- Add double quotes to command so that the next argument isn't
  interpreted as the title for the start command.

- If the first argument is a valid path, convert it to Windows path
  notation. If `wslpath` fails—because it's a path from inside WSL,
  which cannot be converted to Windows path notation— fail with an
  error code.

  This last circumstance will show an error like so:

    wslpath: path: Result not representable
2018-06-30 21:13:08 +02:00
Marc Cornellà 12086593a4 open_command: simplify code 2018-06-30 21:13:08 +02:00
Marc Cornellà be3f96908e Merge branch 'origin/refactor-rand-quote-plugin' 2018-06-29 18:18:00 +02:00
Marc CornellàandGitHub 76bfa7dd2a rand-quote: refactor rand-quote function
- Make function variables local
- Use prompt color sequences
- Use guard clause to check for curl
- Improved syntax
2018-06-29 18:16:10 +02:00
Marc CornellàandGitHub 1e255a1a8d rand-quote: add README 2018-06-29 17:55:55 +02:00
Marc CornellàandGitHub 787c6899d4 rand-quote: update URL
Fixes #6949
2018-06-29 17:50:32 +02:00
Marc CornellàandGitHub 6af58f492f common-aliases: delete unexistant command
`display_info` doesn't exist in any known platform

Fixes #5208
2018-06-18 22:47:51 +02:00
Marc Cornellà e96ca34501 Merge branch 'update-meteor-plugin'
Closes #3767 (incorporates some of its changes)
2018-06-15 23:07:06 +02:00
Marc Cornellà ef1e89b44b meteor: fix formatting and reorganise 2018-06-15 23:06:09 +02:00
Marc CornellàandGitHub 08153ff526 Use https everywhere in the README 2018-06-15 18:55:39 +02:00
Marc CornellàandGitHub 09fbc16366 Refactor lein plugin (#6914)
* Add upstream lein completion (cee9029d)
* Delete lein.plugin.zsh
2018-06-12 20:45:38 +02:00
be5bff2e86 Allow FreeBSD to correctly detect number of CPUs
Use the same scheme as Darwin - sysctl instead of nproc, which doesn't exist in FreeBSD

Closes #2545

Co-authored-by: Daniel Bye <dbye@users.noreply.github.com>
2018-06-12 19:54:47 +02:00
Marc CornellàandGitHub 7a9bab1d77 Update tmuxinator completion to 03c8babb 2018-06-12 19:20:10 +02:00
Marc CornellàandGitHub 3dcf9fd662 Delete python completion in favor of zsh's one 2018-06-12 18:40:31 +02:00
Marc CornellàandGitHub f461d21de1 virtualenvwrapper: set $WORKON_HOME if undefined
This uses the default that virtualenvwrapper.sh would set if it was called. If the user
changes its value after the plugin is loaded, the plugin will work all the same.

Fixes #6882
Closes #6870
Closes #6883
2018-06-06 17:14:19 +02:00
Marc CornellàandGitHub ebda8af870 Clarify ssh-agent settings position 2018-05-28 17:09:53 +02:00
Marc CornellàandGitHub 62f676116e Merge pull request #6863 from robbyrussell/fix-compfix-loading
compfix: better error message and loading of completions
2018-05-26 21:35:39 +02:00
Marc Cornellà b91659951e Always load secure completion directories 2018-05-26 21:33:49 +02:00
Marc Cornellà 77b924b839 Give more helpful message and disable purge of caches
This error message will give information on what exactly has happened
and how to either solve ownership and permissions or disable the check
entirely.

Also gets rid of the purge of compinit caches since with the current
logic insecure completion directories are ignored and therefore haven't
tainted the cached files.
2018-05-26 21:33:24 +02:00
Marc CornellàandGitHub 5896c87155 shrink-path: match only the beginning of the directory (#6862)
Fixes #6317
2018-05-26 19:31:17 +02:00