Marc Cornellà
f584de5930
tmux: refactor and simplify tmux function logic
8 years ago
Andrew Janke
19716a8e3d
tmux: refactor
...
- Consolidates the switch-adding logic for readability.
- Replaces "[[ ... ]] && ..." with "if [[ ... ]]; then ..." in some
cases to avoid a spurious nonzero exit status from _zsh_tmux_plugin_run.
- Puts error message on stderr instead of stdout
8 years ago
Andrew Janke
f33691fbb6
tmux: detabify source code
...
Also changes the tmux detection test to do an early exit if tmux is absent,
to reduce the indentation level of the main body of code.
8 years ago
Thanh Ha
5fa7824ea5
git-prompt: fix error when multiple tags exist ( #6998 )
...
When a commit has multiple tags associated to it, the git-prompt will
throw the following error:
git_super_status:[:4: integer expression expected: v0.21.x\ntags/v0.21.5,
git_super_status:[:7: integer expression expected: origin/v0.21.x,
git_super_status:[:11: integer expression expected: origin/v0.21.x,
git_super_status:[:14: integer expression expected: v0.21.x
git_super_status:[:23: integer expression expected: v0.21.x
This is due to the prompt expecting the tag field to be a single word
with no spaces in between but if there are multiple tags the python
script returns a string with ', ' space separated list of tags.
This throws off the parser. The solution is to ensure that the python
script returns a space-less string ensuring the git-prompt parser to
properly parse the data.
Signed-off-by: Thanh Ha <zxiiro@linux.com>
8 years ago
MarkPochert
a24a0b1a8e
Update z to latest version ( #7021 )
8 years ago
Thi
6ca57e035c
[plugins/xcode] Fix opening project using a wrong Xcode version ( #6829 )
8 years ago
Johan Kaving
626b30b2a3
Update git-flow-avh to 0.6.0 ( #6498 )
...
This updates the git-flow-avh plugin to the latest version
from https://github.com/petervanderdoes/git-flow-completion
(0.6.0 at the time of this commit).
This mainly adds support for the "git flow bugfix" command.
This PR replaces #4626 as well as #4705 , both of which adds support for the bugfix command but doesn't use the official version from https://github.com/petervanderdoes/git-flow-completion
Fixes #4705
Fixes #4626
Fixes #5903
8 years ago
Jon Mosco
a3ab45db8b
updating kube-ps1 to align with upstream changes ( #6995 )
8 years ago
Marc Cornellà
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
8 years ago
Arun Sathiya
f88396e327
wp-cli: fix README typo for wptu command ( #6987 )
8 years ago
Marc Cornellà
4c0b82b482
yarn: add README
8 years ago
Marc Cornellà
344b13c4a5
yarn: add aliases for common commands
...
Fixes #5722
Fixes #5864
Fixes #5920
Fixes #6566
Fixes #6579
Fixes #6686
Fixes #6740
8 years ago
Marc Cornellà
1a657c6c4d
yarn: use zsh-completions completion (ff73f40)
...
Version: ff73f40 (2018-05-02)
Fixes #5859
Fixes #5878
Fixes #5983
Fixes #6013
8 years ago
Arthur
7cb5fa8aea
Fix dotenv plugin accepted file format and clarify README ( #6093 )
...
* Fix dotenv plugin accepted file format
* clarify README and add disclaimer section
8 years ago
Azat S
be342b1bc8
Yarn upgrade-interactive ( #5796 )
...
* Add Yarn upgrade-ineractive CLI command
* Remove dots at the end of completions
8 years ago
Thomas Kriechbaumer
d232e6866c
ufw: remove debug print ( #6976 )
8 years ago
Matthieu PETIOT
b0052c7958
Add argument to set644 and set755 perms alias. ( #6959 )
...
This can avoid big mistakes as this I just made.
I thought I could give it an argument. So, now, it is possible.
8 years ago
Shawn Milochik
dd8cf51397
Spelling fix ( #6963 )
8 years ago
Roman Sedov
da8745eb9a
convenient vscode plugin for oh-my-zsh ( #6903 )
8 years ago
Marc Cornellà
9711d8f731
Rename kube-ps1.zsh to kube-ps1.plugin.zsh
8 years ago
Alexandre Nicastro
af085542bd
Stop error "permission denied: /npm_completion" ( #6340 )
...
Fixes #5874
Related:
https://github.com/lukechilds/zsh-nvm/issues/23
https://github.com/zsh-users/antigen/issues/586
8 years ago
Maciej Sypień
5c0911c184
update nvm completions with v0.29.0 ( #4701 )
8 years ago
当轩
ac0d71467b
add plugin:percol ( #4582 )
...
* add plugin:percol
* fix format
* check percol
* fix empty history in gnome terminal
8 years ago
Pierre Barbier de Reuille
27b9aed87f
Added "-n name" option to vim-interaction plugin ( #4522 )
8 years ago
meehow
c7d8ad1e75
sudo added to nmap commands which require sudo ( #4476 )
8 years ago
miguelpuyol
2732126525
Add Spring Boot Run command ( #4460 )
8 years ago
Alberto Re
29a2394c8f
Adds `vagrant_prompt_info` function to your shell ( #4081 )
8 years ago
Shadab Zafar
78e7ec2186
Add magic-enter plugin ( #4082 )
...
* Added magic-enter plugin
To bind commonly used tasks to the enter key
* Allow the magic-enter commands to be modified by the user
8 years ago
Thomas Kriechbaumer
2de926aa10
add ufw completion script ( #3835 )
8 years ago
Hosmel Quintana
4aaafc0fe8
Add Homestead plugin ( #3712 )
8 years ago
Michael Stucki
302270174d
Use existing ssh-agent when invoking a sudo shell ( #3891 )
...
When invoking a shell as root using ```sudo -s```, the ssh-agent plugin
starts a new agent although it already exists.
The problem boils down to a check if ssh-agent is running using
```ps x```. If that is extended to ```ps ax``` for root, then the
existing ssh-agent will still work.
8 years ago
Justin Aiken
b09890a3e4
Added more levels of zeus compeletion ( #2058 )
8 years ago
Michal Juriš
b6ca933a02
Add alias for 'git rebase develop' ( #6006 )
8 years ago
Sascha Rudolph
0639582f73
6098 - add support for apt in debian plugin ( #6122 )
...
Signed-off-by: Sascha Rudolph <sascharenerudolph@gmail.com>
8 years ago
Marc Cornellà
76bfa7dd2a
rand-quote: refactor rand-quote function
...
- Make function variables local
- Use prompt color sequences
- Use guard clause to check for curl
- Improved syntax
8 years ago
Marc Cornellà
1e255a1a8d
rand-quote: add README
8 years ago
Marc Cornellà
787c6899d4
rand-quote: update URL
...
Fixes #6949
8 years ago
Jeremy Jones
547a6ce260
fix path completion issue with go run subcommand ( #6929 )
8 years ago
Ruben Di Battista
6c1dab2320
Fix autojump sourcing on OSX with Macports ( #4801 )
...
* Fix autojump sourcing on OSX with Macports
The last version of autojump available on Macports does not have
anymore different shell scripts (.sh, .zsh, .bash ...) to be sourced
but just one autojump.sh that takes care of that located at
/opt/local/etc/profile.d/autojump.sh
fix # 4625
* Fix bug with macports autojump on OSX.
8 years ago
doofin
a0b8eab5f0
Update sbt.plugin.zsh ( #6930 )
8 years ago
Marc Cornellà
6af58f492f
common-aliases: delete unexistant command
...
`display_info` doesn't exist in any known platform
Fixes #5208
8 years ago
Elton Chen-Yu Ho
0d80e9b4ee
Fix zshrc alias when $EDITOR uses parameters ( #6146 )
...
According to #5003
if one exports EDITOR with parameters, say:
`export EDITOR='subl -w'`
running command:
`zshrc`
will result in:
`zsh: command not found: subl -w`
This can be fixed by updating common-aliases.plugin.zsh line 16 with:
`alias zshrc='${=EDITOR} ~/.zshrc' # Quick access to the ~/.zshrc file`
Fixes #5003
8 years ago
Henry Bley-Vroman
48e2c828ef
Thefuck: homebrew install documentation and thefuck repo link ( #5940 )
...
* Thefuck: homebrew install documentation and thefuck repo link
* thefuck: reformat error message
8 years ago
kang
c99844d848
adb: fix `adb -s` device completion ( #6489 )
8 years ago
Przemysław Włodek
f258bcba8d
Fix yarn alias that conflicts with yeoman cli ( #6453 )
...
Yeoman cli alias is 'yo' so 'yarn outdated' can't be aliased to 'yo'.
See: http://yeoman.io/
8 years ago
Marc Cornellà
ef1e89b44b
meteor: fix formatting and reorganise
8 years ago
Adnan Y
125dd32361
meteor: completion updated with more commands
8 years ago
Yann VR
2647a8ccfd
Meteor-1-2 arguments update ( #4538 )
...
Fixes #4280
Fixes #4321
8 years ago
Edwin de Jong
4105faf620
Update sbt to add publish-local to commands ( #3112 )
8 years ago
Parham Alvani
5efa5138bf
silence mode of curl ( #6898 )
...
Uses silence mode of curl for better autocomplete.
Co-authored-by: Dominik Rimpf <dev@d-rimpf.de>
8 years ago