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.
2018-07-01 18:20:34 +02:00
Justin Aiken
b09890a3e4
Added more levels of zeus compeletion ( #2058 )
2018-06-30 22:45:20 +02:00
Michal Juriš
b6ca933a02
Add alias for 'git rebase develop' ( #6006 )
2018-06-30 22:25:53 +02:00
Sascha Rudolph
0639582f73
6098 - add support for apt in debian plugin ( #6122 )
...
Signed-off-by: Sascha Rudolph <sascharenerudolph@gmail.com>
2018-06-29 18:22:46 +02:00
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
2018-06-29 18:16:10 +02:00
Marc Cornellà
1e255a1a8d
rand-quote: add README
2018-06-29 17:55:55 +02:00
Marc Cornellà
787c6899d4
rand-quote: update URL
...
Fixes #6949
2018-06-29 17:50:32 +02:00
Jeremy Jones
547a6ce260
fix path completion issue with go run subcommand ( #6929 )
2018-06-24 06:52:53 +02:00
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.
2018-06-20 23:27:38 +02:00
doofin
a0b8eab5f0
Update sbt.plugin.zsh ( #6930 )
2018-06-19 17:38:10 +02:00
Marc Cornellà
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
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
2018-06-18 22:12:07 +02:00
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
2018-06-18 21:04:42 +02:00
kang
c99844d848
adb: fix adb -s
device completion ( #6489 )
2018-06-17 00:07:03 +02:00
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/
2018-06-17 00:03:14 +02:00
Marc Cornellà
ef1e89b44b
meteor: fix formatting and reorganise
2018-06-15 23:06:09 +02:00
Adnan Y
125dd32361
meteor: completion updated with more commands
2018-06-15 23:05:45 +02:00
Yann VR
2647a8ccfd
Meteor-1-2 arguments update ( #4538 )
...
Fixes #4280
Fixes #4321
2018-06-15 21:40:31 +02:00
Edwin de Jong
4105faf620
Update sbt to add publish-local to commands ( #3112 )
2018-06-15 21:04:25 +02:00
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>
2018-06-14 20:32:15 +02:00
Marc Cornellà
09fbc16366
Refactor lein plugin ( #6914 )
...
* Add upstream lein completion (cee9029d)
* Delete lein.plugin.zsh
2018-06-12 20:45:38 +02:00
Marc Cornellà
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à
7a9bab1d77
Update tmuxinator completion to 03c8babb
2018-06-12 19:20:10 +02:00
Peter Butkovic
321200d708
added tmuxinator aliases ( #3147 )
2018-06-12 19:19:59 +02:00
Marc Cornellà
3dcf9fd662
Delete python completion in favor of zsh's one
2018-06-12 18:40:31 +02:00
Matteo Giaccone
0808c0f6ef
Remove default for git reset ( #4993 )
...
The command will do the same as before, but now you can also specify
a path.
Example:
grh branch-name
grhh tag-name
2018-06-12 18:23:31 +02:00
Andre Figueiredo
019e0d7c71
fix(typo) ( #6905 )
...
*trupd* for "trizen -Sy" fixed to *trupg*
2018-06-10 18:55:47 +02:00
Marc Cornellà
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
Paul Ossenbruggen
6ace3cd18d
add xx command to Xcode plugin. Allows quick opening of files in Xcode. ( #6812 )
2018-06-05 06:37:20 -07:00
Marc Cornellà
ebda8af870
Clarify ssh-agent settings position
2018-05-28 17:09:53 +02:00
Michael Fladischer
ce2890bef9
[plugins/vundle] Use HTTPS to clone repository. ( #6857 )
...
The git protocol is likely to be blocked in some networks while HTTPS usually
works.
2018-05-28 11:23:05 +02:00
Erwan ROUSSEL
8bbef9180e
Npm's plugin documentation ( #6864 )
...
* Documentation for Npm plugin added
* Fix style and add alias descriptions
2018-05-26 22:22:22 +02:00
Lorenzo Bolla
90a5bd06ca
Prefer virtualenvwrapper_lazy ( #6842 )
...
This gives much faster start up times and only loads virtualenvwrapper
when needed.
Fix #6839
2018-05-26 20:44:49 +02:00
Marc Cornellà
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
Kaleb Elwert
66cb4005ab
Update shrink-path to use cd -q for bypassing the chpwd callbacks
2018-05-26 19:05:01 +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
Pooya Parsa
d6aeaad83d
[plugin] update NPX docs ( #6849 )
2018-05-26 18:39:32 +02:00
Marc Cornellà
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à
9b11b7e938
Update logic to follow npm plugin convention
2018-05-26 18:25:47 +02:00
Marc Cornellà
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à
3d8ee47c7a
Update README formatting
2018-05-25 20:44:56 +02:00
Chuan Jin
2642f0a8b4
Add git log with date ( #6789 )
2018-05-20 16:02:53 -07:00
Lorenzo Bolla
ee96d0cf96
Fix 6840 Check emacsclient version instead of emacs's ( #6841 )
...
This is much faster.
2018-05-20 16:01:55 -07:00
Lorenzo Bolla
2956e7820e
Fix 6843 Cache kubectl completion script to file to speed up sourcing
2018-05-20 13:46:27 +01:00
Mauro Porras P
a600ab4b85
Minor fix: "stdin" instead of "stding" ( #6801 )
2018-05-17 16:30:03 +02:00
Matt Lewin
d79086bc87
Update terraform plugin with v0.11.7 commands and help ( #6834 )
2018-05-17 16:18:20 +02:00
dt-rush
3dab7e46e8
unset chpwd_functions before running cd to work with the path, to avoid side-effects if the user has set any chpwd_functions which cause output, such as is the case if the user is using auto-ls ( #6830 )
2018-05-17 14:45:04 +02:00
Frank Wittig
e8aaab56b9
allow . in profile names
2018-05-16 18:01:09 +02:00
Julien Palmas
de1e3c0794
add pg:backups command
2018-05-16 17:52:11 +02:00