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

4411 commits

Author SHA1 Message Date
xiao
aac5523629 Additional chpwd clobbering fix for dirpersist 2015-08-03 22:58:29 -07:00
xiao
084792b829 Don't clobber chpwd 2015-08-03 22:10:24 -07:00
Ahmed Hisham Ismail
e1353fce3c Adds npmE alias
Option to execute a command from node_modules folder
2015-08-03 22:06:33 +02:00
Marc Scholten
d351c76b04 Also accept any forms of yes as an answer to the "do you want to update?" prompt 2015-08-03 14:50:57 +02:00
Juraj Fiala
800af047d7 Add sc-launch as a shortcut for start & enable
I've heard many people requesting systemd to add this functionality. It's very handy under Arch.
2015-08-01 17:45:00 +02:00
Andrew Janke
90ea67edf0 termsupport: protect title() with emulate -L zsh
This prevents it from malfunctioning when `setopt prompt_subst` is off.
2015-07-31 22:23:12 -04:00
Kentaro Wada
daa04bae86 gnu-utils: add findutils (find,xargs,locate) 2015-08-01 03:11:58 +09:00
Boris Avdeev
5554207279 Add alias for "systemctl cat" and "systemctl edit" 2015-07-31 15:05:07 +03:00
Roland Chernov
fb8c446ea4 Thefuck: fix global variable assignment 2015-07-30 21:04:58 +09:00
Matteo Giaccone
a2b574bc9e git plugin: make gclean safer, introduce gpristine 2015-07-30 12:32:41 +01:00
Andrew Stuart
96e5346efb Merge branch 'master' of gh:robbyrussell/oh-my-zsh 2015-07-29 14:04:08 -07:00
Andrew Stuart
2120b2e079 Add escaped home 2015-07-29 13:58:22 -07:00
Robby Russell
3d5b3430fd Merge pull request #4122 from apjanke/venvw-treat-git-repo-as-venv-again
virtualenvwrapper: Treat git repos as project roots again
2015-07-29 08:01:33 -07:00
Jerry Ling
c83575da3f Add 'man' plugin.
Inspired by sudo. But we have man-preview!
2015-07-29 20:05:44 +08:00
Brian Degenhardt
b875df8970 agnoster: speed up git prompt
Problem

On detached-refs, the git prompt is very slow because it uses a command
to output all refs, which takes 32s on the twitter internal git repo.

Solution

Use git-rev-parse instead of git-show-ref to only output the head ref.
Runtime drops to 0.03 seconds.

Note

Interestingly, git-rev-parse isn't slow without the --head arguement so
I'll probably be cooking up a patch for the git team to speed this up
eventually, but it's still pointless to sigpipe git as it walks the
filesystem.
2015-07-27 14:19:23 -07:00
Roland Chernov
f534b4b321 Thefuck: fixed compability with latest version 2015-07-23 20:55:15 +09:00
Roland Chernov
54e27406dc Thefuck: replaced static alias with eval "$(thefuck-alias)" 2015-07-23 20:53:56 +09:00
Black Roland
8e8a13398e Thefuck: combined with @cristim plugin. Code formating 2015-07-23 20:09:59 +09:00
Qix
b3ce0f36d6 Update README.markdown
A few spelling fixes, grammatical fixes (what's with all the ellipses?), some standardization of capitalization, and a few other tweaks.

As well, I changed all standalone code fragments into proper code blocks.

I also added a missing theme image!
2015-07-22 11:08:36 -06:00
Andrew Janke
fa25445868 diagnostics: include output file name in dump output 2015-07-22 12:59:39 -04:00
Cristian Măgherușan-Stanciu
803e5dbb84 improved the check for availability 2015-07-22 15:01:15 +09:00
Cristian Măgherușan-Stanciu
0da9a4be25 fuck: added a basic plugin for https://github.com/nvbn/thefuck 2015-07-22 15:01:14 +09:00
leycec
e8caf22beb Cygwin-specific "chsh" installation issue fixed.
Installation previously assumed the existence of a "chsh" command in the current
${PATH}. Since Cygwin does *NOT* provide this command, installation now tests
for the existence of this command before attempting to run it.
2015-07-20 00:56:19 -04:00
leycec
da395c5837 Secure umask enforced during installation.
For safety, a umask of 022 prohibiting both group and other writability is now
enforced during OMZ installation. In theory, this should reduce the likelihood
of subsequent compinit() failures due to insecure directory permissions under
all platforms except for default Cygwin installations (in which Windows ACLs
override POSIX umasks).
2015-07-20 00:56:19 -04:00
leycec
cb55161470 Completion insecurities handled on startup.
Completion-dependent directories with insecure permissions or ownership (e.g.,
group or other writability) are now detected, reported, and sanitized on OMZ
startup rather than unsafely ignored -- which resulted in effectively empty
completion caches and obscure compdef() errors resembling
"compdef: unknown command or service: git".

This fixes long-standing issues #630, #3356, and #3455 and related Babun issues
159, 281, and 322 -- and probably numerous other duplicates.
2015-07-20 00:56:02 -04:00
Sharky
cacc6c34b7 replaced Om spelling so letters would not overlap 2015-07-19 12:33:37 -05:00
Sharky
5a1dd14f13 removed incorrect Devanagari conjunct symbol at end of Om 2015-07-19 11:50:43 -05:00
Alex Talker
a3f0439de3 Fix little typo that makes the statement useless. 2015-07-19 13:56:10 +03:00
Roland Chernov
e38455bf4f Added conflict note (thefuck plugin) 2015-07-19 12:57:57 +09:00
linux_china
b4a8cbf6a5 spring boot plugin 2015-07-19 11:44:51 +08:00
linux_china
f838b56591 spring boot plugin readme 2015-07-19 11:44:42 +08:00
Roland Chernov
cd2213a030 Thefuck plugin README 2015-07-18 21:21:19 +09:00
Roland Chernov
7a13a407e9 Added thefuck plugin https://github.com/nvbn/thefuck 2015-07-18 21:10:56 +09:00
James Bunch
e56c898353 Merge pull request #1 from apjanke/emoji_plugin_3
emoji: auto-generate definitions from Unicode data files
2015-07-15 21:26:15 -07:00
Andrew Janke
9a397254da Remove redundant comments from the .zsh file (since they're in README now). 2015-07-15 17:16:59 -04:00
Andrew Janke
6d618ef70e emoji plugin: generate char map from Unicode UTR51 data files
Refactor the functions and group listings to have fewer functions,
but have them take group names as parameters.
Pull group definitions in to a single associative array.
2015-07-15 17:07:33 -04:00
Robby Russell
a207a38d63 Merge pull request #4099 from moncho/master
Plugin now uses completion script from docker-compose repo.
2015-07-14 15:54:15 -07:00
Andrew Stuart
afa30572f5 Add jira_url_help 2015-07-13 13:10:31 -07:00
Hongxin Liang
46d13384db [theme] Fix color problem of steeef theme
steeef theme sets colors depending on $TERM, however if %F is
used, it must be closed by %f instead of %{$reset_color%}.

Further on, all %f directives have been replaced by %F and color
support of current TERM is checked more properly.
2015-07-13 18:43:00 +02:00
Fabio Strozzi
ff8d799594 Esc-esc now toggles sudo.
Press esc-esc once to add sudo (normal behaviour), press it twice
to remove it from the beginning of the line.
2015-07-12 17:01:34 +02:00
leycec
dcb175d430 Insecure completion handler added.
A new "lib/compfix.zsh" script defining a new handle_completion_insecurities()
function has been added, which handles insecure completion directories by
notifying users of said insecurities and moving away all existing completion
caches to a temporary directory. While intended to be called at startup, this
function is generally callable at any time (e.g., for testing).
2015-07-11 01:52:04 -04:00
Bin Huang
775ac3ad9f The executable command on Mac OSX is 'ack' rather than 'ack-grep'. 2015-07-11 09:32:05 +08:00
Jonathan Cremin
b7617b35ff Check for autoenv_init function before trying to source autoenv. 2015-07-10 14:12:27 +01:00
Paul Robertson
ffe8e5465c add '--help' to heroku commands 2015-07-09 23:40:35 -04:00
Andrew Janke
bca720fa95 diagnostics: include detailed OS version info if possible 2015-07-09 21:18:11 -04:00
Chris McCuller
3594e27eeb Nicer formatting 2015-07-08 09:02:23 -04:00
Takumi IINO
1e8196de82 passing the first argument with double quote 2015-07-08 11:16:44 +09:00
Patryk Małek
ad4675cb0a Concise local variables declarations 2015-07-07 20:26:00 +02:00
Patryk Małek
b1772c5333 More consistent curly braces variables 2015-07-07 20:07:13 +02:00
Patryk Małek
37f45eb621 Making variables local in jira plugin 2015-07-07 20:03:58 +02:00