Commit graph

4,173 commits

Author SHA1 Message Date
FireWave
55fab13eb2 Change confusing 12h without AM/PM to a clean 24h display.
It was not possible to simply add AM/PM since strftime return blank for %p %P
2016-10-03 15:00:39 -04:00
FireWave
643766e91e Revert "Change confusing 12h-time without AM/PM to system-localized time"
This reverts commit 06d52a6038.
2016-10-03 14:58:51 -04:00
FireWave
e3ee6ea4db Change confusing 12h-time without AM/PM to system-localized time 2016-09-30 14:12:03 -04:00
Allan Lewis
114ec3420c git.plugin.zsh: Don't run Git hooks when making a WIP commit (#4751)
When making a WIP commit, we generally just want to save the state of the
current branch temporarily, maybe because we want to push our work for backup
purposes, or change branch to work on something else. Therefore, it's generally
undesirable to run Git hooks, which might do things like run linters, because
we probably don't care if our WIP has lint errors.
2016-09-30 13:45:28 +02:00
Marc Cornellà
6d36f9cc81 Merge pull request #5476 from mcornella/fix-extract-deb-packages
Fix extract of deb packages with data.tar.xz
2016-09-30 00:38:58 +02:00
Marc Cornellà
89d607e4ac extract: add README 2016-09-30 00:38:21 +02:00
Marc Cornellà
e75ad777fa extract: add file extensions to extract completion 2016-09-30 00:38:21 +02:00
Marc Cornellà
54dafee53e extract: replace basename&sed w/ zsh variable expansion syntax
`${var:t:h}` uses:

- `${var:t}` which acts as `basename`.

- `${var:r}` which removes the extension.

See http://zsh.sourceforge.net/Doc/Release/Expansion.html#Modifiers
2016-09-30 00:38:03 +02:00
Marc Cornellà
f748ad8ff0 extract: fix extraction of deb packages with data.tar.xz 2016-09-29 14:05:21 +02:00
Marc Cornellà
c16ae89a53 extract: fix styling 2016-09-29 14:05:21 +02:00
Marc Cornellà
2ea93c9670 Merge branch 'refactor-svn-plugin'
Closes #5462
2016-09-29 14:04:22 +02:00
Marc Cornellà
23acc5325b Clean up and refactor code in svn plugin 2016-09-29 14:03:09 +02:00
Marc Cornellà
90e801de11 Clean up svn README 2016-09-29 13:56:48 +02:00
Christian Ferbar
5f502b26d0 Add localization workaround to svn plugin 2016-09-29 13:56:40 +02:00
Christian Ferbar
aa8a4c307d Add README to svn plugin 2016-09-29 13:56:35 +02:00
Diego Said Anaya Mancilla
1851c51bb5 Update pip plugin to last stable release (#5472)
Update pip plugin to last stable release
2016-09-28 21:28:53 +02:00
Leif Ringstad
d311001252 Add more docker compose aliases (#5422)
Adds the following aliases:

```zsh
alias dco='docker-compose'
alias dcr='docker-compose run'
alias dce='docker-compose exec'
```

And sorts the aliases similar to `docker-compose help` order
2016-09-28 14:47:00 +02:00
Robby Russell
a85f5dd92f README copy updates 2016-09-24 16:37:00 -07:00
Robby Russell
a38002511e Merge branch 'master' of github.com:robbyrussell/oh-my-zsh 2016-09-24 16:36:50 -07:00
Brad Urani
9f4aa2a859 Add copybuffer function and keybinding (#5431)
* Add copybuffer function and keybinding:

binds ctrl-o to copy the command line buffer to the system clipboard.

* Add README
2016-09-22 19:41:30 +02:00
Marc Cornellà
2d58065979 Merge pull request #5435 from mcornella/fix-completion-hyphened-files
Fix completion of files with hyphens and underscores
2016-09-22 00:48:54 +02:00
Marc Cornellà
dba5dc76ac Fix styling of lib/completion.zsh 2016-09-22 00:44:25 +02:00
Gravemind
7b103506a7 Fix hyphen and underscore filename completion
This deletes the previous hack that allowed completing files with
the extension: e.g. `abcd.z` to `abcdefg.z`.

It is still possible to use `abcd[TAB].z`, and hyphens or underscores
are very much more important than this other trick.

Source:
https://github.com/robbyrussell/oh-my-zsh/issues/1398#issuecomment-169163149

Signed-off-by: Marc Cornellà <marc.cornella@live.com>
2016-09-22 00:43:30 +02:00
Shang Yehua
cb020db0d1 Add some prompts for "install:install-file" (#5376)
Add "-DgroupId= -DartifactId= -Dversion= -Dpackaging=jar -Dfile=" to options for
"install:install-file" for when you need install a local jar file.

Closes #5376.
2016-09-21 22:26:58 +02:00
Marc Cornellà
f2dafb6100 Merge branch 'catull-enhancement-add-angular-cli-plugin'
Closes #5299
2016-09-21 21:28:56 +02:00
Carlo Dapor
a2f6b79462 Added README.md 2016-09-21 21:27:05 +02:00
Carlo Dapor
558ac1adfd Updated options for generate. Added gh-pages:deploy / github-pages:deploy. 2016-09-21 21:27:05 +02:00
Carlo Dapor
4c9d7f0eba The argument completion also has no extra options. 2016-09-21 21:27:05 +02:00
Carlo Dapor
73f0e3365f Added angular-cli (ng) completion. 2016-09-21 21:27:05 +02:00
Marc Cornellà
4dc729a98c Add check for git and bzr to agnoster theme (#5432)
Plugin command-not-found on Arch Linux returns 0 if git or bzr is found in repos, hence outputting unwanted pkgfile output.

Checking if the commands exist first fixes all such issues.
2016-09-21 21:11:05 +02:00
Ash Furrow
06d359af5d Adds option for directory to Xcode xc function. (#5253) 2016-09-21 17:55:58 +02:00
Dawnflash Lightstring
e32a463a49 Add check for git and bzr to agnoster theme
Plugin command-not-found on Arch Linux returns 0 if git or bzr is found in repos, hence outputting unwanted pkgfile output.
Checking if the commands exist first fixes all such issues.
2016-09-21 12:20:08 +02:00
Zach Himsel
683cfb1cb6 Update docker completion from upstream (#5426)
be9e3f59e6/contrib/completion/zsh/_docker
2016-09-20 20:48:10 +02:00
Brian Goff
dc3d371168 Update docker completion to match docker upstream (#5060)
See https://github.com/docker/docker/blob/master/contrib/completion/zsh/_docker

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2016-09-20 20:40:07 +02:00
grindhold
856199f08d added support for bazaar in agnoster theme (#5016)
the agnoster theme is now able to render basic information
if the user is currently residing inside a bazaar folder.
if so, it will render a green promt segment with "bzr" and
the current revision number in it. if there are untracked
files, the bar will be rendered in yellow. if there are
changes to already tracked files, a + character will be
printed.
2016-09-19 20:00:42 -07:00
Matt Nichols
8eeae7ec5c Fix peepcode theme ruby prompt info (#5339)
The ruby prompt info was not interpolating properly. Switching to use
 ruby_prompt_info helper. This addresses the issue.
2016-09-19 20:00:16 -07:00
Fabián Ríos
417f7c68b9 missing listing and versions (#5341)
versions is missing list is missing
2016-09-19 19:58:45 -07:00
Ariel Rivas
37fa4a7529 Avoid unnecesary processing... (#5352)
by discarding directories or files with permissions already correctly set
2016-09-19 19:57:51 -07:00
Mohammad Mahdi Rahimi
75988e1036 Spotify Controller (#5356)
* initial spotify control

* volume up/down added

* add info, share and status option

* add color echo

* change pause to play/pause

* add Search Option for album,artist and tracks

* add search option for playlist

* fix showStatus output

* complete help

* readme updated

* seach show Url of song
2016-09-19 19:56:12 -07:00
Robby Russell
0d6cb75bf0 Merge branch 'mahi97-master' 2016-09-19 19:53:07 -07:00
Robby Russell
db17ae6e0f Merge branch 'master' of git://github.com/mahi97/oh-my-zsh into mahi97-master 2016-09-19 19:52:57 -07:00
Mohnish G J
5c17d8826e Add an alias for Rails console sandbox (#5316)
The command ‘rails console —sandbox’ loads our Rails application,
connects to the database and automatically starts a database
transaction. All database operations performed within this console
session are rolled back upon leaving the console. Reference -
https://www.codeschool.com/blog/2014/06/17/rails-console-sandbox/
2016-09-19 19:51:50 -07:00
Luis Ferrer-Labarca
9699f997bf Added 'gbd' alias for 'git branch -d' (#5417) 2016-09-19 19:50:16 -07:00
Robby Russell
96e12718f6 Forgot a word in the footer 2016-09-19 19:41:59 -07:00
Robby Russell
7564ce107b Adding a link to Planet Argon who manages the site/project/shop 2016-09-19 19:40:38 -07:00
Marc Cornellà
2af5474e17 ssh-agent: check ssh-agent process w/ ps again
The alternative is using tools that aren't available everywhere.
The latest report is that cygwin/msys2 doesn't have pgrep.

Fixes #5418.
2016-09-17 13:01:10 +02:00
Joshua McKinney
8c5b71b7ea Remove _brew zsh completion (#5190)
Removing as this is now installed as part of homebrew automatically and this
version is out of date. See
https://github.com/Homebrew/brew/blob/master/share/zsh/site-functions/_brew
2016-09-17 12:31:52 +02:00
Joshua McKinney
b132cd8e07 Deprecating brew cask plugin (#5191)
The good completion is now part of Homebrew so this one  will always be outdated.

See https://github.com/Homebrew/brew/pull/407
and https://github.com/Homebrew/brew/pull/936.
2016-09-17 11:43:40 +02:00
Erik Zivkovic
e55e397b72 Improve gradle plugin task parsing (#5230)
* Improve gradle plugin task parsing

Added _gradle and _gradlew as symbolic links to gradle.plugin.zsh,
otherwise the plugin was not properly loaded.

Output from `gradlew tasks --all` is now parsed in two levels,
first we find segments between `------...` and a newline.
Second, all those lines are parsed and cleaned using awk
and added to .gradletasknamecache.

Tested on gradle 2.13, and gradlew 2.14.

* Remove .gradletasknamecache before regenerating it

Remove the .gradletasknamecache file to avoid having an unnecessary
newline at the top of the file when regenerating it.

* Improve gradle task parsing by writing .gradletasknamecache atomically

Previously the .gradletasknamecache file was written line by line inside a parsing loop,
which could cause errors such as half-written cache files if the process was aborted.

This also removes the need of deleting the .gradletasknamecache file before parsing.
2016-09-15 12:16:46 +02:00
Reed Riley
88e09d5b38 Fix battery plugin when acpi writes to stderr (#5413)
* Fix battery plugin when acpi writes to stderr
* Make stderr redirection in battery plugin more idiomatic
2016-09-15 02:01:10 +02:00