Marc Cornellà and GitHub
9b19ca2871
gulp: add README ( #7200 )
2018-10-03 17:56:47 +02:00
Marc Cornellà and GitHub
8bc176f124
add link
2018-10-03 17:56:27 +02:00
Marc Cornellà and GitHub
01de53fff3
tmuxinator: add README ( #7189 )
2018-10-02 21:49:24 +02:00
Marc Cornellà and GitHub
3ed19ce45e
added completion and link
2018-10-02 21:49:06 +02:00
Marc Cornellà and GitHub
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à and GitHub
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à and GitHub
7f96f4476c
jenv: update README
2018-10-01 12:14:15 +02:00
Marc Cornellà and GitHub
b4007b5400
git-auto-fetch: small README fixes
2018-09-26 23:59:57 +02:00
Marc Cornellà and GitHub
6bd95ddbdc
add plugin: git-auto-fetch ( #5477 )
2018-09-26 23:56:58 +02:00
Marc Cornellà and GitHub
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à and GitHub
a3d13eb76a
fix invalid syntax in old zsh versions
2018-09-26 17:19:59 +02:00
Marc Cornellà and GitHub
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à and GitHub
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à and GitHub
fe5fe81c8c
lib: quote arguments to env_default
...
Fixes #7117
2018-09-09 19:50:23 +02:00
Marc Cornellà and GitHub
f75d096c1a
lib: small change to git_compare_version
...
Fixes #7118
2018-09-08 21:35:03 +02:00
Marc Cornellà and GitHub
69e637c355
fasd: use xdg-open in o alias back again
...
Fixes #6314
2018-09-03 17:13:18 +02:00
Marc Cornellà and GitHub
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à and GitHub
caa936593a
Merge pull request #7079 from mcornella/refactor-trapd00r-theme
...
Refactor trapd00r theme
2018-08-25 14:00:19 +02:00
Marc Cornellà and GitHub
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à and GitHub
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à and GitHub
be65adc6c3
git-extras: update completion (2018-05-24 0f76863)
2018-08-19 21:36:21 +02:00
Marc Cornellà and GitHub
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à and GitHub
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à and GitHub
f2f078a1bb
pass: update completion (2018-08-03)
2018-08-09 20:17:43 +02:00
Marc Cornellà and GitHub
2c1ff85bb2
core: fix alias_value function
...
Fixes #5835
2018-08-09 19:49:02 +02:00
Marc Cornellà and GitHub
052a6dbd16
docker-machine: add official completion
...
Fixes #6962
2018-08-09 19:24:03 +02:00
Marc Cornellà and GitHub
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à and GitHub
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à and GitHub
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à and GitHub
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à and GitHub
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à and GitHub
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à and GitHub
1e255a1a8d
rand-quote: add README
2018-06-29 17:55:55 +02:00
Marc Cornellà and GitHub
787c6899d4
rand-quote: update URL
...
Fixes #6949
2018-06-29 17:50:32 +02:00
Marc Cornellà and GitHub
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à and GitHub
08153ff526
Use https everywhere in the README
2018-06-15 18:55:39 +02:00
Marc Cornellà and GitHub
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à and GitHub
7a9bab1d77
Update tmuxinator completion to 03c8babb
2018-06-12 19:20:10 +02:00
Marc Cornellà and GitHub
3dcf9fd662
Delete python completion in favor of zsh's one
2018-06-12 18:40:31 +02:00
Marc Cornellà and GitHub
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à and GitHub
ebda8af870
Clarify ssh-agent settings position
2018-05-28 17:09:53 +02:00
Marc Cornellà and GitHub
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à and GitHub
5896c87155
shrink-path: match only the beginning of the directory ( #6862 )
...
Fixes #6317
2018-05-26 19:31:17 +02:00
Marc Cornellà
2294bae06a
Merge branch 'shrink-path-chpwd-fix'
...
Closes #5930 .
2018-05-26 19:07:46 +02:00
Marc Cornellà
c09783c255
Revert "unset chpwd_functions before running cd ... ( #6830 )"
...
This reverts commit 3dab7e46e8 .
2018-05-26 19:02:03 +02:00
Marc Cornellà and GitHub
957eb77239
Merge pull request #6844 from lbolla/Issue6843
...
Cache kubectl completion script to file to speed up sourcing
2018-05-26 18:32:13 +02:00
Marc Cornellà and GitHub
9b11b7e938
Update logic to follow npm plugin convention
2018-05-26 18:25:47 +02:00
Marc Cornellà and GitHub
5421650c81
Merge pull request #6860 from nrobinson2000/patch-1
...
Remove po alias
2018-05-26 15:38:21 +02:00
ed0bd6b33c
added a transfer.sh plugin ( #5854 )
...
* added a transfer.sh plugin
created a function to easily upload files to transfer.sh file sharing site
Usage : transfer file.txt
* added README for transfer.sh plugin
* replaced transfer function with @nl5887 version
* updated transfer README.md
* modified the script to use tar command instead of zip
* Update README formatting
Co-authored-by: Remco Verhoef <remco@dutchcoders.io >
2018-05-25 20:56:59 +02:00
Marc Cornellà and GitHub
3d8ee47c7a
Update README formatting
2018-05-25 20:44:56 +02:00
Marc Cornellà
8f3737f45b
Revert fbcda4d
...
The PROMPT building method clashes with other themes and
plugins that modify the PROMPT variable.
Also reverted the $jobstates trick due to it not working
inside $PROMPT.
2018-05-23 11:33:34 +02:00
Marc Cornellà and GitHub
afba4f6b9f
Load insecure completion files if compfix is disabled
...
We have to assume that if people disabled the compfix system they really want
their completion to work, ignoring any permission issues.
Fixes #5651
Fixes #5957
Fixes #6461
2018-05-15 21:22:47 +02:00
Marc Cornellà and GitHub
0aa645f803
pyenv: search the pyenv command if not found ( #6811 )
2018-05-15 12:07:23 +02:00
Marc Cornellà and GitHub
d02d008579
Add directory hierarchy navigation to dirhistory ( #6756 )
...
* New Feature:
Navigate directory hierarchy using ALT-UP and ALT-DOWN. (mac keybindings not yet implemented)
ALT-UP moves to higher hierarchy (cd ..)
ALT-DOWN moves into the first directory found in alphabetical order
2018-05-13 01:57:42 +02:00
Marc Cornellà
835c7df795
Merge branch 'MikeDawg-master'
...
Fixes #6426
Close #6598
2018-05-07 23:15:54 +02:00
Marc Cornellà and GitHub
6bff079332
Allow completion of dot directories ( #6803 )
...
Fixes #3775 , fixes #6543
2018-05-07 18:15:01 +02:00
Marc Cornellà and GitHub
00f311a3c1
Add READMEs to plugins copydir and copyfile ( #6802 )
...
* Add README to copydir plugin
* Add README to copyfile plugin
2018-05-07 18:00:27 +02:00
c4981bae0a
installer: check if zsh in path instead of /etc/shells
...
Fixes #4955
Closes #5931
Closes #6398
Co-authored-by: Void <vst4rbot@gmail.com >
Co-authored-by: Kaleb Elwert <belak@coded.io >
2018-05-05 22:03:57 +02:00
Marc Cornellà and GitHub
8eba19208d
Revert to checking if enable-ssh-support is set
...
Fixes #6772
2018-04-27 17:56:21 +02:00
Marc Cornellà and GitHub
93d9431890
Check for Microsoft's WSL in open_command ( #6751 )
...
This will work only on files and directories in a DrvFs mount, i.e.
that can be translated to a Windows drive path.
For example: /mnt/c/Users/user.
Files and folders inside the LXSS directory can't be handled in
Windows, they must be ONLY used by the WSL subsystem. That's why
you won't be able to open your $HOME directory, for instance.
See https://blogs.msdn.microsoft.com/commandline/2016/11/17/do-not-change-linux-files-using-windows-apps-and-tools/
2018-04-24 23:47:26 +02:00
Marc Cornellà and GitHub
ef70990ce1
Simplify hub check and hardcode aliasing ( #6767 )
...
* Simplify hub check and hardcode aliasing
* Update hub completion
2018-04-24 22:02:58 +02:00
Marc Cornellà and GitHub
45a9f28464
[half-life] Fix last command check
...
Fixes #6758
2018-04-23 20:47:19 +02:00
Marc Cornellà and GitHub
cf5ccf06a0
[subl] Fix local variable definition
...
Fixes #6757
2018-04-23 13:06:49 +02:00
Marc Cornellà
897a7da6c5
Merge branch 'heads/apjanke/fix-local-in-sublime-plugin'
...
Closes #4086
2018-04-22 18:38:15 +02:00
Marc Cornellà
64cd002b7a
Merge branch 'apjanke/norris-scrape'
...
Closes #3642
2018-04-22 18:26:28 +02:00
Marc Cornellà and GitHub
676038bdfa
Merge pull request #3422 from mcornella/fix-history-alias
...
Enhance history alias
2018-04-22 15:57:41 +02:00
Marc Cornellà
2589cdd8f9
Increment HISTSIZE to fix hist_expire_dups_first
...
This fixes the old behavior which made it so all duplicates would be
deleted if the command history filled up with unique events.
> You should be sure to set the value of HISTSIZE to a larger number
> than SAVEHIST in order to give you some room for the duplicated
> events, otherwise this option will behave just like HIST_IGNORE_ALL_DUPS
> once the history fills up with unique events.
2018-04-22 15:33:12 +02:00
Marc Cornellà
9f2f22d953
Remove duplicate option append_history
...
The option inc_append_history already has the same effect.
2018-04-22 15:33:11 +02:00
Marc Cornellà
20d63be655
Use zparseopts to get passed arguments
2018-04-22 15:33:10 +02:00
Marc Cornellà
f8180c3a64
Allow overriding -l flag in history
2018-04-22 15:32:30 +02:00