Commit graph

4,038 commits

Author SHA1 Message Date
Marc Cornellà
226e944d0c Fix shwordsplit bug when a basedir contains spaces
The `shwordsplit` option affects all variables and we only need to split
the `$EDITOR` variable. Because of that, using `${=spec}` is a much better
alternative.

More info at
http://zsh.sourceforge.net/Doc/Release/Expansion.html#index-SH_005fWORD_005fSPLIT_002c-toggle
2016-08-16 08:32:43 +02:00
Marc Cornellà
3c542018cb Fix pj() function when no project has been specified 2016-08-16 08:32:43 +02:00
Marc Cornellà
1f84f3fbd7 Refactor pj function
- Use `emulate -L zsh` to make all variables local.

- Use `shwordsplit` to interpret `$cmd` spaces correctly.

- Rename `$project` and `$file` variables to the more appropriate `$basedir`
  and `$project`.
2016-08-16 08:32:43 +02:00
Marc Cornellà
f20f12b6b2 Fix _pj completion function
- `$PROJECT_PATHS/*` wasn't working correctly. You have to iterate over
  its elements in order to use globbing with it.

- The `$projects:t` line wasn't necessary if we used `compadd`.

- `compadd` better supports destructuring an array with spaces in some
  of its elements.
2016-08-16 08:32:43 +02:00
Marc Cornellà
45b009fa5e Add Readme to pj plugin 2016-08-16 08:32:43 +02:00
Marc Cornellà
eeeb51aee9 Clean up comments in pj plugin file and reorganise 2016-08-16 08:32:43 +02:00
Thiago Leite Luiz
fa1ab6be3e Adding alias to rake db:schema:load command. (#5281) 2016-08-14 18:01:13 -07:00
Peter Han
084f0f1d6c Create an alias to open up sublime project (#5258)
* Adding an alias to open up the sublime project

* README update for stp command
2016-08-14 18:00:19 -07:00
Dzianis Dashkevich
03e65c846f Add gcpa and gcpc aliases to git plugin (#5271) 2016-08-14 17:58:11 -07:00
Ahmad Awais
beb7c3c5fd Enhancement: Show/Hide OSX hidden files 💯 (#5275) 2016-08-14 17:55:02 -07:00
naegi
c0705b11f8 Plugin : Sudo - Add support of sudoedit (#5035)
* Add sudoedit support

* change describtion of sudo plugin
2016-08-14 17:45:00 -07:00
$ea
ad36d559c2 plugins/urltools: add suport for python 3 (#5039)
Python 3!!!!
2016-08-14 17:43:23 -07:00
Robby Russell
34f0f056d1 Merge branch 'adispring-master' 2016-08-14 17:39:33 -07:00
Robby Russell
e2a6a9cab3 #5130 resolving conflict in git plugin for gh 2016-08-14 17:39:27 -07:00
Arz Yu
2a271c5b82 muse theme: Remove extra spaces for none git/virtualenv prompt (#5278)
* muse theme: Remove a extra space for none git prompt

* muse theme: Remove a extra space for none virtualenv prompt
2016-08-14 17:33:48 -07:00
Patrick Stadler
9744a0c5c8 add kubectl plugin (#5298) 2016-08-14 17:30:55 -07:00
Aleksey Ivanov
6881d1b03e refresh .rake_tasks when lib/tasks changed (#5111) 2016-08-13 20:47:43 +02:00
Daniel Grove
6fa92021d2 Add tmux attach -d alias (#5285) 2016-08-12 20:50:09 -07:00
Aaron Decker
3ce045ac1e add npm aliases (#5290) 2016-08-12 20:49:42 -07:00
Simen Bekkhus
0f26baba8e (git): Add gpsup alias (#5287) 2016-08-11 02:47:54 +02:00
Shiv Venkatasubrahmanyam
86c763193f Add shrink-path plugin to shorten directory paths (e.g. ~/f/b/quux) (#5262)
* Add shrink-path plugin to shorten directory paths (e.g. ~/f/b/quux)

* Add a README
2016-08-11 02:44:00 +02:00
Kyle Scully
7d4acf00b1 added mix autocompletion support for phoenix (#4967) 2016-08-11 02:28:56 +02:00
Dominic Motuka
f4ee5e457f update alias of get a list of packages installed locally (#5276) 2016-08-11 02:14:52 +02:00
Fredrik Fornwall
1ecaf25958 Replace /bin/sh with sh for portability (#5291)
This makes things work even on system lacking /bin/sh, such as on
non-rooted Android systems.
2016-08-09 02:39:11 +02:00
Luke Childs
560696aad2 nvm plugin improvements (#5265)
* Export $NVM_DIR if it doesn't exist and use it when looking for nvm
* Use $NVM_DIR when looking for nvm for completion
* Use $NVM_DIR when looking for nvm in nvm_prompt_info
2016-08-07 19:36:44 +02:00
Marc Cornellà
238b62df3f [git plugin] Fix indentation and organise aliases 2016-08-07 18:30:57 +02:00
Cédric Malard
5156d7025b Fix gbda alias to support color.ui = always + exclude dev branches (#4304)
* Fix gbda alias to support git config color.ui = always
* Update gbda alias to exclude develop and dev branches
2016-08-01 18:16:54 +02:00
nklmish
c9bf4653be support for startpage search engine in web-search plugin (#5245) 2016-08-01 18:05:01 +02:00
Steven
ece57948c5 Updated git_commits_ahead function (#5247)
* Function wasn't returning correct value
* Updated underlying git command
* Kept echo command from previous function for backwards compatibility
* Kept function consistent with git_commits_behind
2016-08-01 17:48:46 +02:00
Anton
e6887000c3 Fix hg call when missing on archlinux with command-not-found (#5218) 2016-07-22 15:04:35 +02:00
Adam Glenn
f16115d378 adding python virtualenv support to the prompt (#5031)
adding python virtualenv support to muse theme
2016-07-19 21:01:00 +02:00
Julien Dubreuil
1dd09c5cc0 Updated _docker-compose to the latest version (from 0.1.0 to 1.5.0). (#5215)
Also fixed formatting of markdown URL in README.
2016-07-19 00:24:12 +02:00
soredake
bd8a2351f7 Update emacs plugin. (#5201)
- Updated minimal version from 23 to 24.
- Added new aliases that fix unexpected close with -nw option.
- Removed some old aliases.
- Fixed line that detects open frames.
2016-07-19 00:20:59 +02:00
Marc Cornellà
fbf8ebfa9e Merge pull request #5233 from donatj/donatj-patch-1
Removes .phing_target generation from phing plugin
2016-07-18 23:39:14 +02:00
Paweł Lenart
6836b5eca5 Remove warning lines from phing completion
Remove "Warning:" lines from phing targets list. Warning lines are
returned by phing when a target has no tasks or dependencies.

# Conflicts:
#	plugins/phing/phing.plugin.zsh
2016-07-18 14:17:43 -05:00
Jesse Donat
e9f352e051 Cleans up phing plugin. 2016-07-15 14:30:09 -05:00
Steven
0a6dba07d1 lib/git.zsh: Added git_commits_behind function (#4450)
* Added git_commits_behind function
* Added 'command' to git_commits_behind function
* git_commits_behind code review changes
2016-07-15 11:05:39 +02:00
Marc Cornellà
af02631dac Merge pull request #5207 from mcornella/gb-plugin
Repost of #5176: add gb plugin
2016-07-05 11:22:48 +02:00
Marc Cornellà
55bbe39ace Rename getgb plugin to gb 2016-07-04 22:34:41 +02:00
Marc Cornellà
e846b47eea Rename gb completion file to more conventional _gb 2016-07-04 22:34:38 +02:00
Marc Cornellà
3e00af87b9 Fix formatting of gb plugin completion 2016-07-03 23:20:30 +02:00
Marc Cornellà
ec93475e9b Add more information to the README 2016-07-03 23:20:30 +02:00
Henrik Johansson
73b7f1b5dc Add README to gb plugin 2016-07-02 10:18:18 +02:00
Henrik Johansson
8b0cbf0723 Add plugin for Gb completion (http://getgb.io) 2016-07-02 01:04:16 +02:00
Clemens Gruber
e3c70c3690 bundler plugin: Simplify retrieval of cpu count on OSX (#5180)
Calling awk is not necessary here, sysctl has the -n flag to print the value.

Signed-off-by: Clemens Gruber <clemensgru@gmail.com>
2016-06-21 01:31:13 +02:00
Marc Cornellà
bde0cd56f9 Fix gfg function completion definition
Related: #5179
2016-06-21 01:06:21 +02:00
Marc Cornellà
78b7d7c4c9 Fix man-preview completion definition
Related: #5179
2016-06-20 22:19:02 +02:00
hjpotter92
09c698c612 Fix issue with dash as the default /bin/sh script executing program. (#5177)
* `function` keyword removed
 * Fixup the `if` statement and operators
2016-06-20 21:15:55 +02:00
psprint
9f23524481 znt: update to v2.2.1 (#5174) 2016-06-18 11:48:21 +02:00
Jordan Gwyn
2bc1d4d6a3 emacs plugin tweak to open buffer from stdin (#5126) 2016-06-17 12:12:59 +02:00