1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-11 08:20:09 +00:00
Commit graph

19 commits

Author SHA1 Message Date
Marc Cornellà
dc59c661ac common-aliases: lazily assign $BROWSER, $EDITOR and $XIVIEWER in ext aliases
Fixes #9212
2020-09-04 21:56:04 +02:00
Mohammad Saboorian
24c2b755ca
common-aliases: fix hardcoded .zshrc path (#5926) 2020-05-23 17:21:50 +02:00
Yuan Liu
f362b69df6
common-aliases: fix loading of is-at-least function (#6215) 2020-02-10 21:19:03 +01:00
Marc Cornellà
6af58f492f
common-aliases: delete unexistant command
`display_info` doesn't exist in any known platform

Fixes #5208
2018-06-18 22:47:51 +02:00
Elton Chen-Yu Ho
0d80e9b4ee Fix zshrc alias when $EDITOR uses parameters (#6146)
According to #5003

if one exports EDITOR with parameters, say:
`export EDITOR='subl -w'`
 
running command:
`zshrc`
 
will result in:
`zsh: command not found: subl -w`

This can be fixed by updating common-aliases.plugin.zsh line 16 with:
`alias zshrc='${=EDITOR} ~/.zshrc' # Quick access to the ~/.zshrc file`

Fixes #5003
2018-06-18 22:12:07 +02:00
Marc Cornellà
0f62b7a8d8 common-aliases: check if $XIVIEWER is defined and minor fixes 2016-11-02 11:18:38 +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
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
Andrew Janke
c52f67746b common-aliases: handle "dev" versions in version check
Uses `is-at-least` instead of a numeric comparison hack, so versions with non-numeric bits like "4.5.0-dev5" don't throw errors.
2015-12-11 03:03:38 -05:00
Aleks
9a5e1a0552 Use $EDITOR 2015-05-06 10:26:05 +01:00
LFDM
724143c329 Deletes dot aliases from common-aliases.
They are implemented in lib anyway.
2015-02-10 19:22:39 +01:00
Halil Özgür
7a5d68c963 Remove j alias for autojump
j alias conflicts with autojump's j() function. Fixes #2989
2014-09-13 10:30:16 +03:00
Brian Hartvigsen
5e601d6515 Fix dud alias. Switch --max-depth for just -d
As far as I can tell (tested on Linux & Darwin, BSD man page seems to agree), `-d` is pretty univerally accepted as the depth argument.  So instead of doing a test, we can just use -d and call it a day.
2014-05-24 19:48:36 +02:00
Brian Hartvigsen
c1f5a1792b This is already done in lib/theme-and-appearance.zsh and supports Darwin/BSD/etc 2014-05-24 19:48:36 +02:00
jieryn
1509ac9a04 add common video formats FLV and WEBM 2014-03-22 08:51:26 -04:00
Gaetan Semet
dbcaafd03b Better super-grep
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2013-06-12 11:54:45 +02:00
Gaetan Semet
b832ec9208 New plugin 'common-aliases' for optional cutting edge zsh aliases
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2013-06-11 14:58:25 +02:00