Commit graph

4,201 commits

Author SHA1 Message Date
Marc Cornellà
72561257ea Only set default LS_COLORS if not set before
Also, force the use of Bourne-style shell syntax with `dircolors -b`.
2016-10-04 01:29:47 +02:00
Marc Cornellà
8c8070b5ae Use $commands[] to check for command existence 2016-10-04 01:27:19 +02:00
Hong Xu
299a136d0f set better default colors for GNU ls instead of none.
GNU coreutils ship a color setup command by default which can be used to
set a good default color theme for ls:

  https://www.gnu.org/software/coreutils/manual/html_node/dircolors-invocation.html
2016-10-04 01:06:36 +02:00
Marc Cornellà
0e0c158c0b Fix cp plugin completion and refactor (#5427)
* cp plugin: change cpv to function so that completion works

* cp plugin: show numbers in units of 1024 (K,M,G,T)

Use `-h` level (3): output numbers in units of 1024.
See the manpage of rsync for more information.

* cp plugin: add a README file

* cp plugin: recurse directories

* cp plugin: remove `--` to separate files from options

This has some undesired effects, like having `cpv --help` be a file
not found error.

Use `--` yourself if you need it (which you generally don't):

```zsh
cpv -- -some-file-with-hyphens.txt /tmp
```

Added this same info to the README.
2016-10-04 01:03:16 +02:00
Mats Faugli
dc2679e550 Add jgitflow maven goals (#5489) 2016-10-04 00:47:59 +02:00
Michał Ordon
e960783500 Add an alias for React Native Link command (#5491) 2016-10-04 00:37:35 +02:00
Marc Cornellà
337ec4e691 Merge branch 'add-cargo-plugin'
Adds commits from #3007 and #5158.

Closes #3007
Closes #5158

Fixes #5246
2016-10-04 00:18:18 +02:00
Marc Cornellà
9460653d41 Add README for the cargo plugin 2016-10-04 00:17:38 +02:00
Zaki Manian
6c132132c2 Add completion for cargo, the rust build tool
Copy of the official repository:
https://github.com/rust-lang/cargo/tree/master/src/etc

Signed-off-by: Marc Cornellà <marc.cornella@live.com>
2016-10-04 00:15:46 +02:00
Laurent Commarieu
7affc00294 feat(nomad): add common commands and new readme 2016-10-04 00:03:14 +02:00
Laurent Commarieu
403ed235a0 feat(plugin): add nomad 2016-10-04 00:03:14 +02:00
Marc Cornellà
31f601a82b Change confusing 12h-time in xiong-chiamiov themes (#5483) 2016-10-04 00:02:05 +02:00
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
Henrik Johansson
74cac44201 Added simple support for Cargo -
the Rust build system
2016-10-03 19:09:59 +02:00
Fabian Wolff
bfb2805d0e Convert "if then" statements to "if; then" one-liners 2016-10-03 12:05:10 +02:00
Fabian Wolff
4bf41abf3e Use rmdir instead of rm -r 2016-10-03 12:05:10 +02:00
Fabian Wolff
0cda7cd8c0 Implement a locking mechanism to avoid multiple update prompts (fixes #3766) 2016-10-03 12:05:10 +02:00
savimat
e23a8bbe96 Add alias for signed git commit with message (#5390)
Signed-off-by: Mat Munn <mat@savi.com.au>
2016-10-03 01:11:26 +02:00
Marc Cornellà
4fe421425c Fix small copy-editing mistake in archlinux README 2016-10-03 01:04:16 +02:00
Marc Cornellà
d24ba7aa7a Merge branch 'Majora320-master'
Closes #5460
2016-10-03 01:02:49 +02:00
Moses Miller
422d025e02 Updated README of the archlinux plugin 2016-10-03 01:02:44 +02:00
Moses Miller
98eb4f10d1 Add pacaur compatibility to archlinux plugin + refactor 2016-10-03 01:02:44 +02:00
Juraj Fiala
dda5bbb225 Added pacaur aliases
This commit removes most of its contents: it just leaves the
contribution signature. The rest is obsolete and superseeded
by #5460, but the contribution is still valuable.

Related: #4263.

Signed-off-by: Marc Cornellà <marc.cornella@live.com>
2016-10-03 01:02:18 +02:00
Florian Wilhelm
2129c0b1b7 Add aliases for docker-compose logs (#5475) 2016-10-02 16:34:54 +02:00
Adrian Petrescu
7d86e434d3 Add /usr/local/bin to autoenv search path (#5481)
The current list of directories to search for autoenv on misses the default location on Ubuntu systems if you just do a normal `pip install autoenv` - [it will place](https://github.com/kennethreitz/autoenv/blob/master/setup.py#L16) `activate.sh` in `/usr/local/bin` unless you manually override the `--prefix` or something.

The `/usr/local/opt/autoenv` is fine for macOS/homebrew installations but it would be nice not to have to manually patch on Linux :)
2016-09-30 23:39:32 +02:00
FireWave
e3ee6ea4db Change confusing 12h-time without AM/PM to system-localized time 2016-09-30 14:12:03 -04:00
Marc Cornellà
eb01d651e5 last-working-dir: add README 2016-09-30 20:11:17 +02:00
Marc Cornellà
27bcdd717d last-working-dir: don't jump if not in $HOME 2016-09-30 20:11:17 +02:00
Marc Cornellà
8d53aa713e last-working-dir: clean up source 2016-09-30 20:11:17 +02:00
Manuel Hutter
2ebf8a7bc6 Add missing newline to end of spotify status output (#5480) 2016-09-30 19:54:27 +02: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