Marc Cornellà
7f9b773350
Fix compdef commands in git plugin
...
The command `compdef command=git` returns an error in some cases, the
appropriate command is `compdef _git command`.
Fixes #5442
2016-10-04 17:23:20 +02:00
Marc Cornellà
7f06a0cd82
Merge pull request #5463 from slavaGanzin/globalias
...
Fixes #4834
2016-10-04 14:50:28 +02:00
Marc Cornellà
3cc61701bd
Update per-directory-history plugin to latest version ( #5493 )
...
Latest version: February 17, 2016 - dd81201
2016-10-04 13:56:25 +02:00
Marc Cornellà
f701b4de0f
Fix formatting and usage section
...
Also:
- Changes `globes` (which doesn't exist) to `glob expressions`.
- Delete the `trigger autocompletion to your current aliases` use case, since that's not
really implemented.
2016-10-04 13:55:11 +02:00
slavaGanzin
6eaa868cd9
fix comment
2016-10-04 14:05:41 +03:00
slavaGanzin
75f87dd24e
README for globalias
2016-10-04 14:03:37 +03:00
slavaGanzin
86126233bb
specify globalias modes
2016-10-04 12:21:18 +03:00
Marc Cornellà
99dbf322da
Merge branch 'set-ls_colors-if-not-available'
...
Based on #5488 .
2016-10-04 01:30:21 +02:00
Marc Cornellà
c2e3a410ea
Fix style of theme-and-appearance.zsh
2016-10-04 01:30:01 +02:00
Marc Cornellà
6304a789ab
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à
6c08286c8e
Use `$commands[]` to check for command existence
2016-10-04 01:27:19 +02:00
Hong Xu
efa7c7b7ff
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à
81981ef248
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
d57f36dab8
Add jgitflow maven goals ( #5489 )
2016-10-04 00:47:59 +02:00
Michał Ordon
2a0223370a
Add an alias for React Native Link command ( #5491 )
2016-10-04 00:37:35 +02:00
Marc Cornellà
16074a1c4d
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à
16bd691b3b
Add README for the cargo plugin
2016-10-04 00:17:38 +02:00
Zaki Manian
915b0e46f2
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
dfd7bf9f41
feat(nomad): add common commands and new readme
2016-10-04 00:03:14 +02:00
Laurent Commarieu
6b7003c3ef
feat(plugin): add nomad
2016-10-04 00:03:14 +02:00
Marc Cornellà
0576895d03
Change confusing 12h-time in xiong-chiamiov themes ( #5483 )
2016-10-04 00:02:05 +02:00
FireWave
fe605e142f
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
9d35d3a5d5
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
0887a7eb50
Added simple support for Cargo -
...
the Rust build system
2016-10-03 19:09:59 +02:00
Fabian Wolff
1f64fa92f5
Convert "if then" statements to "if; then" one-liners
2016-10-03 12:05:10 +02:00
Fabian Wolff
4fa6be0230
Use rmdir instead of rm -r
2016-10-03 12:05:10 +02:00
Fabian Wolff
40bfe5a412
Implement a locking mechanism to avoid multiple update prompts ( fixes #3766 )
2016-10-03 12:05:10 +02:00
savimat
6d975f7258
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à
cd44246415
Fix small copy-editing mistake in archlinux README
2016-10-03 01:04:16 +02:00
Marc Cornellà
b18e5bf49c
Merge branch 'Majora320-master'
...
Closes #5460
2016-10-03 01:02:49 +02:00
Moses Miller
e418a2bb92
Updated README of the archlinux plugin
2016-10-03 01:02:44 +02:00
Moses Miller
485dd2b736
Add pacaur compatibility to archlinux plugin + refactor
2016-10-03 01:02:44 +02:00
Juraj Fiala
eaf18167bb
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
d186bc30d0
Add aliases for docker-compose logs ( #5475 )
2016-10-02 16:34:54 +02:00
Adrian Petrescu
9263e9ca59
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
06d52a6038
Change confusing 12h-time without AM/PM to system-localized time
2016-09-30 14:12:03 -04:00
Marc Cornellà
c488ab15f3
last-working-dir: add README
2016-09-30 20:11:17 +02:00
Marc Cornellà
fb6738a7e1
last-working-dir: don't jump if not in $HOME
2016-09-30 20:11:17 +02:00
Marc Cornellà
8ea56633a4
last-working-dir: clean up source
2016-09-30 20:11:17 +02:00
Manuel Hutter
3de0235ad2
Add missing newline to end of `spotify status` output ( #5480 )
2016-09-30 19:54:27 +02:00
Allan Lewis
c713407f90
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à
1159aa14fa
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à
bac896fca7
extract: add README
2016-09-30 00:38:21 +02:00
Marc Cornellà
b5dc976d23
extract: add file extensions to extract completion
2016-09-30 00:38:21 +02:00
Marc Cornellà
68425c266a
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à
f12cb5a697
extract: fix extraction of deb packages with data.tar.xz
2016-09-29 14:05:21 +02:00
Marc Cornellà
09d95251a7
extract: fix styling
2016-09-29 14:05:21 +02:00
Marc Cornellà
1ad2556ce3
Merge branch 'refactor-svn-plugin'
...
Closes #5462
2016-09-29 14:04:22 +02:00
Marc Cornellà
e6df0e036e
Clean up and refactor code in svn plugin
2016-09-29 14:03:09 +02:00
Marc Cornellà
f573247a59
Clean up svn README
2016-09-29 13:56:48 +02:00