1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-22 12:21:58 +00:00
Commit graph

3000 commits

Author SHA1 Message Date
Andrew Janke
a2e01e9a87 chucknorris: check for strfile dependency
Gives a better error message than "command not found: strfile", because
it's not obvious to many users that strfile is part of fortune.
Also handles the weird /usr/sbin install location for strfile on Cygwin.
2015-07-02 20:37:28 -04:00
Andrew Janke
cb0718c147 chucknorris: locate plugin dir using $0 instead of hardcoded $ZSH 2015-02-21 18:24:07 -05:00
Andrew Janke
5f90781783 plugins/chucknorris: Add automatic updating of the compiled fortune data file. Use local variable for readability, and anonymous function to provide a scope for the local variable. 2015-02-19 23:53:48 -05:00
Robby Russell
9bf19603d3 Merge pull request #3607 from mcornella/drop-insecure-url
Revert usage of install.ohmyz.sh URL, until HTTPS support.
2015-02-19 12:05:11 -08:00
Marc Cornellà
152a751342 Revert usage of install.ohmyz.sh URL, until HTTPS support.
This reverts commit b6cbba9dfe.
2015-02-19 15:50:08 +01:00
Robby Russell
223197b4e0 Merge pull request #3533 from maff/chucknorris-fortune
Chuck Norris fortune
2015-02-18 15:10:41 -08:00
Robby Russell
8d561aa008 Merge pull request #3573 from mcornella/fix-taskwarrior-first-completion
Fix first-tab completion in task command
2015-02-18 15:09:09 -08:00
Robby Russell
dcc08b0dc0 Merge pull request #3545 from BilalBudhani/ember-cli-plugin
Plugin for Ember-cli
2015-02-18 15:07:39 -08:00
Robby Russell
9a58e8dab7 Merge pull request #3578 from ctroncoso/patch-1
docker containers based on defined names
2015-02-18 15:07:02 -08:00
Robby Russell
67fff6026d Merge pull request #3589 from miguxbe/master
Add initial JHBuild plugin support
2015-02-18 15:05:04 -08:00
Robby Russell
84a318be87 Merge pull request #3590 from voronkovich/master
Fix composer completion: "\s" is a gawk-specific regexp operator.
2015-02-18 15:04:24 -08:00
Robby Russell
5b429b6e48 Merge pull request #3596 from kossmac/master
added stats command to docker plugin
2015-02-18 15:04:10 -08:00
Robby Russell
24ebf9cfff Merge pull request #3591 from zmwangx/ls-variants
Bring back -h (--human-readable) option to ls variants
2015-02-18 15:04:00 -08:00
Robby Russell
c5e8713cf5 Merge pull request #3594 from pi0/master
Laravel 5 support
2015-02-18 15:03:31 -08:00
Oleg Voronkovich
8b5950b812 Fix: "\s" is a gawk-specific regexp operator. 2015-02-17 01:24:21 +03:00
Karsten Kosmala
cd36deda23 added stats command to docker plugin 2015-02-16 12:04:37 +01:00
pi0
7c73a3aea4 Laravel 5 support 2015-02-16 11:58:54 +03:30
Zhiming Wang
2790a5e565
Bring back -h option to ls variants
The -h options in l, ll, and la were lost in 25b1cd6. There's no reason
to remove them.
2015-02-15 11:37:28 -08:00
Miguel Vaello Martínez
ec9525b94e Add initial JHBuild plugin support
This is a bunch of alias for the JHBuild tool.
A well known tool in the GNOME dev project.
2015-02-15 15:39:50 +01:00
Marc Cornellà
4b20bfe0ee Fix first-tab completion in task command
This is done by calling `_task` at the end of the _task completion file,
as is standard in completion files.
2015-02-13 17:29:44 +01:00
Robby Russell
5ee54032da Merge pull request #3572 from mcornella/fix-apple_terminal-newtab-again
Extract CWD notifier back out of auto-title hooks
2015-02-13 07:17:17 -08:00
Marc Cornellà
3704fbb71e Extract CWD notifier back out of auto-title hooks 2015-02-13 15:57:18 +01:00
ctroncoso
68955f17ad docker containers based on defined names
docker container autocomplete listing uses containers ID instead of names.
Most users identify their containers by name. ID is only needed and used on a dynamic environment more suited in scripts.
2015-02-13 09:49:54 -03:00
Robby Russell
ef7e53a78d Merge pull request #3568 from mcornella/apjanke-title-disable-check
Repost #3426: move DISABLE_AUTO_TITLE check to hooks
2015-02-10 11:49:56 -08:00
Robby Russell
6aa9720b4b Merge pull request #3567 from mcornella/bsandrow-topic/virtualenvwrapper-ubuntu
Repost #2819: fix virtualenvwrapper for Ubuntu and Debian
2015-02-10 11:49:42 -08:00
Robby Russell
2f76919826 Merge pull request #3563 from mcornella/fix-unicode-locale
Fix Unicode problems by only setting LC_CTYPE if not set
2015-02-10 11:49:23 -08:00
Marc Cornellà
0edf416bea Temporarily delete over-engineered solution 2015-02-10 20:38:06 +01:00
frozen_dude
448e966129 Fix for bad LC_CTYPE entry
LANG is a colon-separated list of prefered locales; LC_CTYPE is single entry,
therefore we need to remove all but one entry.

Also, there is no need setting it if it is already set (LC_ALL also sets
LC_CTYPE, so we check it too).
2015-02-10 20:37:35 +01:00
Marc Cornellà
732c7b8070 Simplify adding workon_cwd to chpwd hook 2015-02-10 20:32:52 +01:00
Marc Cornellà
b62911660d Organize error checking in virtualenwrapper plugin 2015-02-10 20:32:52 +01:00
Brandon Sandrowicz
4161aa4f9d Fixing virtualenvwrapper plugin for Ubuntu (and Debian)
Ubuntu and Debian store the system-installed virtualenvwrapper in
/etc/bash_completion.d/virtualenvwrapper, so that it gets automatically sourced
at startup in Bash. By not putting it somewhere in $PATH, they end up excluding
others (e.g. Zsh) that might want to use that file. Oops!

The virtualenvwrapper plugin should account for this so that Ubuntu (or Debian)
users don't end up with this message:

zsh virtualenvwrapper plugin: Cannot find virtualenvwrapper.sh. Please install with `pip install virtualenvwrapper`.

even when they have a virtualenvwrapper installed to a known location.
2015-02-10 20:32:52 +01:00
Robby Russell
8830f65c4d Merge pull request #3467 from mcornella/fix-composer-plugin
[Plugin composer] Multiple fixes
2015-02-10 11:22:40 -08:00
Robby Russell
f0bbd308fe Merge pull request #3443 from mcornella/better-web-search-plugin
Refactor and improve web-search plugin
2015-02-10 11:22:25 -08:00
Robby Russell
aab7532747 Merge pull request #3566 from mcornella/pfault-master
Repost #2606: fix git status in rkj-repos theme
2015-02-10 11:21:45 -08:00
Robby Russell
9b8e88d5ac Merge pull request #3483 from ai/fedora-not-found
Add Fedora support for command-not-found plugin
2015-02-10 11:21:36 -08:00
Robby Russell
d2667bd0a2 Merge pull request #3353 from mizabrik/master
Save ZSH path in newly created .zshrc
2015-02-10 11:21:15 -08:00
Robby Russell
17216bee9c Merge pull request #3143 from roramirez/theme-linux
remove path not found for linuxonly theme
2015-02-10 11:21:12 -08:00
Robby Russell
52177162f7 Merge pull request #3479 from faceleg/patch-1
Removing 'local' usage to prevent issue when installed with antigen
2015-02-10 11:20:52 -08:00
Robby Russell
49b4e675e0 Merge pull request #3547 from martong/vi_mode_trapwinch
Added trapwinch to vi-mode plugin.
2015-02-10 11:20:42 -08:00
Robby Russell
0a0a27857e Merge pull request #3413 from mcornella/fix-dircycle-plugin
dircycle plugin: clean and fix logic once and for all
2015-02-10 11:20:08 -08:00
Robby Russell
412a92e45e Merge pull request #3141 from muggenhor/sudo-maintain-cursor-pos
sudo: maintain cursor position
2015-02-10 11:18:32 -08:00
Robby Russell
ff823f810b Merge pull request #3564 from mcornella/LFDM-cleaning_lib
Repost #2422: cleaning lib
2015-02-10 11:17:17 -08:00
Marc Cornellà
2e41d06b76 Use quoted $TERM value everywhere 2015-02-10 19:53:40 +01:00
Marc Cornellà
b7e5dd35ef Quick-fix code style 2015-02-10 19:52:58 +01:00
Andrew Janke
4fc6dccb42 term: Move DISABLE_AUTO_TITLE check to hooks
Move the DISABLE_AUTO_TITLE check from title() to the preX hook
functions that call it, to allow the title() function to be used
directly by user or other callers.
2015-02-10 19:38:11 +01:00
Martin Schrodi
f04246aa48 rkj-repos: code cleanup and updated with functions from lib/git.zsh (thx mcornella) 2015-02-10 19:35:00 +01:00
Martin Schrodi
c3940cf44a Fixed breakage in new git repo without commits 2015-02-10 19:35:00 +01:00
Marc Cornellà
6fb866183d Remove composer.json file requirement
This is because we can't be sure which arguments require a json file
and which don't, so the `else' statement will always be difficult to
check for correctness.
2015-02-10 19:32:59 +01:00
Maxime Fabre
ef220f0928 Add aliases for composer global 2015-02-10 19:32:59 +01:00
Andrey Janzen
5f4e8e57da Allow completion for 'composer.phar', not only 'composer'
Use $_comp_command1 for command list generation instead of 'composer':

  `$_comp_command1` contains the command written in the command line.
  This allows us to have a different composer name
2015-02-10 19:32:59 +01:00