Dom Sekotill
31afbc760e
Use path comparison not string comparison for paths
...
This will solve part of issue #4255 where WORKON_HOME is defined with a
trailing slash or not normalised in some way, as well as instances
where symlinks are used, and any other instances where constructed
paths don't exactly match even though they go to the same file.
2016-11-25 11:36:28 +00:00
Dom Sekotill
cc9695b081
Unset ENV_NAME & deactivate if no virtualenv found
...
This addresses #4603 without breaking current behaviour (where current
behaviour is correct).
When changing directories, if there is no environment matching
ENV_NAME, ENV_NAME is emptied and deactivate called if there is a
current environment active (based on CD_VIRTUAL_ENV).
2016-11-25 11:36:28 +00:00
Dom Sekotill
9a2d1d6790
Test only for the presence of a .git directory in virtualenvwrapper
...
Instead of using both $(git rev-parse --show-toplevel) and a check for
a .git directory, use just the latter. As well as being redundant
the former does not work quite so well when using multiple worktrees;
each worktree will be treated as a separate project.
2016-11-25 11:36:28 +00:00
Eduardo Bizarro
9d43dc88bb
Yarn ( https://yarnpkg.com ) completion support ( #5542 )
...
* yarn completion
2016-11-23 18:50:14 +01:00
Jason Kurian
3477ff2527
feat: no CI on WIP commits ( #5643 )
2016-11-16 10:42:46 +01:00
Derek Frank
3ed37f47cb
fix(env): Do not override misc env set before sourcing oh-my-zsh ( #5231 )
...
Sourcing oh-my-zsh happens in zshrc, which will override settings of
profile and zshenv. Treat misc values, `PAGER` and `LESS`, as default
settings without overriding existing values.
Fixes : #1 , robbyrussell/oh-my-zsh#3016
2016-11-16 00:38:32 +01:00
Marc Cornellà
62b0abdb6e
brew: fix disclaimer shown if mkdir is aliased
...
Fixes #5623 .
2016-11-11 15:20:11 +01:00
hjpotter92
fe96d19421
Update endpoint from HTTP to HTTPS ( #5622 )
2016-11-11 03:17:43 +01:00
Marc Cornellà
6685aac42c
dircycle: fix error on insert-cycledleft if dirstack is empty
2016-11-10 19:46:15 +01:00
mingang.he
0b340bc3a5
Fix #5604 : No DIR ( directory ) colors ( #5605 )
2016-11-03 14:10:08 +01:00
Timothy Blumberg
b94d9e26e5
Changed dsa --> rsa in zshrc.zsh-template file ( #5603 )
2016-11-02 17:53:54 +01:00
Sachin George Thomas
cf37697920
node: open module-specific node documentation ( #5572 )
2016-11-02 15:52:14 +01:00
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