Commit graph

4346 commits

Author SHA1 Message Date
Marc Cornellà 2d964086af Merge branch 'patch-ls-g-alias'
Closes #4988
2016-11-02 15:44:10 +01:00
Eduardo Cuomo 40544a1d5d Fix invalid "ls -G" alias. 2016-11-02 15:42:38 +01:00
Marc Cornellà 1b799e9762 Check dircolors settings before using gls on darwin (#5570)
`gls` seems to be installed by default or on most macOS systems, but its
default color scheme sucks. This fix will make sure to only use it if it
has been customised prior to running OMZ.

Related: #5516, #5520.
2016-11-02 15:39:28 +01:00
psprint 73591101b6 znt: Update to v2.2.7 (#5576) 2016-11-02 13:08:58 +01:00
Marc Cornellà 0f62b7a8d8 common-aliases: check if $XIVIEWER is defined and minor fixes 2016-11-02 11:18:38 +01:00
Marc Cornellà e57787bead Merge branch 'hotfix/remove-php-suffix-alias'
Closes #5594
2016-11-02 11:04:15 +01:00
Marc Cornellà cb26c2f614 common-aliases: minor style fixes 2016-11-02 11:03:47 +01:00
Marc Cornellà fc4e0cd7ba common-aliases: check if $BROWSER is defined on browser aliases 2016-11-02 11:02:58 +01:00
Marco De Bortoli d47a722192 PHP suffix alias should be removed
PHP can be executed as CLI script but due to the automated attempt
to add browser support to that extension such ability is prevented
in certain circumstances.
2016-11-02 11:00:27 +01:00
Tanin Rojanapiansatith 80924959c4 Clarify how to open ~/.zshrc file in README.md
Closes #5558
2016-11-02 10:45:54 +01:00
Marc Cornellà 0ee89d965e Add brew completion missing disclaimer 2016-10-25 07:17:29 +02:00
Michał Ordon d9695a8b00 Add more simulator aliases (#5550) 2016-10-25 06:29:35 +02:00
jotadrilo b1efd04f94 add docker-compose down alias (#5557)
* add docker-compose down alias

* rename `docker-compose down` alias to `dcdn`
2016-10-25 06:25:07 +02:00
Marc Cornellà 2fe358852b Add a tip to ease agnoster first setup (#5565)
* Add a tip to ease agnoster first setup

* Change link to agnoster wiki + format changes

https://github.com/robbyrussell/oh-my-zsh/wiki/Themes#agnoster
2016-10-25 06:04:54 +02:00
Marc Cornellà 3bd6be1076 Change link to agnoster wiki + format changes
https://github.com/robbyrussell/oh-my-zsh/wiki/Themes#agnoster
2016-10-25 06:04:08 +02:00
Marc Cornellà 37bf9186a0 Update docker completion (2015-10-25)
Closes #5568

Source:
c9fdf9abf8
2016-10-25 05:43:11 +02:00
Mason f94d4e6a40 Change from OSX to macOS in README (#5545) 2016-10-18 20:42:27 +02:00
Sayalee Pote 7d8618ec9a Update README with grammar corrections (#5503) 2016-10-17 21:27:58 +02:00
kennyklee 5cd7ad38cb Fix regex for optional http(s), and variable reference inside osascript. 2016-10-17 12:41:04 +02:00
Jocelyn Thode cff228e342 Update bira theme (#4954)
* Add '#' instead of '$' when in root
* Make return code bold
2016-10-15 14:02:01 +02:00
Marc Cornellà 31a84e710f Merge pull request #5517 from mcornella/fix-suvash-theme
Display suvash prompt w/o Ruby; refactor code
2016-10-14 00:25:45 +02:00
Marc Cornellà 015598b8a8 Display suvash prompt w/o Ruby; refactor code 2016-10-14 00:24:30 +02:00
Marc Cornellà c1ee74e7e3 Change OS X to macOS on README (#5528)
Change OS X to macOS in the README file in line with apples rebranding
of the operating system.
2016-10-13 23:43:20 +02:00
Chenje Katanda c861430d3e readme change OS X to macOS
Change OS X to macOS in the read me file in line with apples rebranding
of the operating system.
2016-10-13 17:33:44 -04:00
Marc Cornellà c24dfa1ab4 Fix ls coloring in MacOS if gls is not installed
Fixes #5520.
2016-10-11 09:24:43 +02:00
rossmcf 628d0bb106 Fix ls colouring for Darwin. (#5516) 2016-10-10 23:08:54 +02:00
Hong f7d4f985ac Use $+commands to check the existence of a command in clipboard.zsh. (#5519) 2016-10-10 23:01:37 +02:00
Hong a56eac7a71 Use OSTYPE instead of uname whenever possible for better speed. (#5496) 2016-10-10 22:24:30 +02:00
Hong 98cd3973d2 Take advantage of LS_COLORS for the color of completion if GNU ls is used. (#5510) 2016-10-10 20:40:17 +02:00
Michel Filipe 3be4108d72 remove duplicate alias (#5508)
Removing one "apt-get autoremove" alias because it is duplicated.
2016-10-09 19:36:47 +02:00
Florian Boulay cd37d19dda Add m4a format in the common aliases plugin (#5502)
The m4a file format can be opened in the command line with mplayer
2016-10-08 08:26:10 +02:00
diego d69f2850af Add non 0 exit code for missing jump targets (#5500)
This allows for the user to combine the jump command with something else. In my example cd and jump are now combined like this:

```bash
jumpcd() {
        jump $1 > /dev/null || cd $1
}
alias cd="jumpcd"
```
2016-10-07 23:54:54 +02:00
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