Joel Kuzmarski
122146bf54
Better error handling and use of trap
2016-08-20 18:22:26 -05:00
Joel Kuzmarski
5443d8754f
Whoops, accidentlly inverted the second zsh test
2016-08-20 04:55:01 -05:00
Joel Kuzmarski
7b3ebc1395
Better zsh checks
2016-08-20 04:49:34 -05:00
Joel Kuzmarski
7b6d36754c
Improve chsh failure mode message
2016-08-20 03:04:27 -05:00
Joel Kuzmarski
21c64ee0c9
Use of which obviates the need for env
2016-08-19 17:56:04 -05:00
Joel Kuzmarski
ef93c738b9
Use exec to subsume script process
...
See https://github.com/robbyrussell/oh-my-zsh/issues/4393#issuecomment-241086178
2016-08-19 12:52:34 -05:00
Joel Kuzmarski
94b7473908
Pass login flag to zsh if chsh succeeded
...
Closes #5314
2016-08-19 12:50:53 -05:00
Joel Kuzmarski
91268bd69b
Greatly improve the OMZ install.sh
...
Makes the installer more accomodating:
- Allow headless installs (on a fresh system).
- Set $SHELL to the correct value on chsh success.
- Handle edge cases in regards to locating and using zsh.
- Password entry prompt allows user to try again (after bad password).
2016-08-18 13:16:08 -05:00
Emmanuel Isaac
9981214437
Add git alias to clear entire stash ( #5306 )
...
Using the "gstc" alias runs "git stash clear"
that clears every stash index
2016-08-18 09:22:21 +02:00
Marc Cornellà
66179bdab8
Fix git-flow README
...
- Fix "installation" information
- Add links to github project
- Transform list of aliases into table with descriptions
2016-08-17 22:39:41 +02:00
Fumseck
0615dfe32c
Add alias and README to git-flow plugin ( #5129 )
2016-08-17 22:26:13 +02:00
Marc Cornellà
acd6a14a2f
Merge pull request #5296 from mcornella/fix-pj-plugin
...
Fix pj plugin
2016-08-16 17:34:13 +02:00
Marc Cornellà
bec53135e4
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à
7d298a3059
Fix pj() function when no project has been specified
2016-08-16 08:32:43 +02:00
Marc Cornellà
7f8851f52f
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à
c9c11d605f
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à
26bef0942b
Add Readme to pj plugin
2016-08-16 08:32:43 +02:00
Marc Cornellà
525ee50815
Clean up comments in pj plugin file and reorganise
2016-08-16 08:32:43 +02:00
Thiago Leite Luiz
75f2f4e027
Adding alias to rake db:schema:load command. ( #5281 )
2016-08-14 18:01:13 -07:00
Peter Han
073ea01cce
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
95371afdd8
Add gcpa and gcpc aliases to git plugin ( #5271 )
2016-08-14 17:58:11 -07:00
Ahmad Awais
5d6c350166
Enhancement: Show/Hide OSX hidden files 💯 ( #5275 )
2016-08-14 17:55:02 -07:00
naegi
341e83f6f2
Plugin : Sudo - Add support of sudoedit ( #5035 )
...
* Add sudoedit support
* change describtion of sudo plugin
2016-08-14 17:45:00 -07:00
$ea
40a9d9cb91
plugins/urltools: add suport for python 3 ( #5039 )
...
Python 3!!!!
2016-08-14 17:43:23 -07:00
Robby Russell
b44aa61f09
Merge branch 'adispring-master'
2016-08-14 17:39:33 -07:00
Robby Russell
b96a5877aa
#5130 resolving conflict in git plugin for gh
2016-08-14 17:39:27 -07:00
Arz Yu
1e9084c3c7
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
f19b6b24d3
add kubectl plugin ( #5298 )
2016-08-14 17:30:55 -07:00
Aleksey Ivanov
51c10783e1
refresh .rake_tasks when lib/tasks changed ( #5111 )
2016-08-13 20:47:43 +02:00
Daniel Grove
906a7731af
Add tmux attach -d alias ( #5285 )
2016-08-12 20:50:09 -07:00
Aaron Decker
0181fe4970
add npm aliases ( #5290 )
2016-08-12 20:49:42 -07:00
Simen Bekkhus
ae21102030
(git): Add gpsup alias ( #5287 )
2016-08-11 02:47:54 +02:00
Shiv Venkatasubrahmanyam
c09323098a
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
a9428b137f
added mix autocompletion support for phoenix ( #4967 )
2016-08-11 02:28:56 +02:00
Dominic Motuka
4505a438e4
update alias of get a list of packages installed locally ( #5276 )
2016-08-11 02:14:52 +02:00
Fredrik Fornwall
9772f8e10d
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
a7de0fabd7
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à
7654b16b39
[git plugin] Fix indentation and organise aliases
2016-08-07 18:30:57 +02:00
Cédric Malard
f5537241a4
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
508b80c1e1
support for startpage search engine in web-search plugin ( #5245 )
2016-08-01 18:05:01 +02:00
Steven
61981951b1
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
a7e30b26ba
Fix hg call when missing on archlinux with command-not-found ( #5218 )
2016-07-22 15:04:35 +02:00
Adam Glenn
cc8285b1f7
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
f4013053d3
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
eb244d9ec0
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à
d0610931db
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
c51823c04e
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
bfbfef9fcf
Cleans up phing plugin.
2016-07-15 14:30:09 -05:00
Steven
96a2092e37
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à
644bc641ad
Merge pull request #5207 from mcornella/gb-plugin
...
Repost of #5176 : add gb plugin
2016-07-05 11:22:48 +02:00