Commit graph

3,520 commits

Author SHA1 Message Date
leycec
70d513d594 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
231d02a76a 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
b5956f2288 replaced Om spelling so letters would not overlap 2015-07-19 12:33:37 -05:00
Sharky
3b1d156712 removed incorrect Devanagari conjunct symbol at end of Om 2015-07-19 11:50:43 -05:00
Alex Talker
cd16b8745d Fix little typo that makes the statement useless. 2015-07-19 13:56:10 +03:00
Roland Chernov
9c3264d3ec Added conflict note (thefuck plugin) 2015-07-19 12:57:57 +09:00
linux_china
e8c864fc8d spring boot plugin 2015-07-19 11:44:51 +08:00
linux_china
4d922bf87c spring boot plugin readme 2015-07-19 11:44:42 +08:00
Roland Chernov
b6384c8b0b Thefuck plugin README 2015-07-18 21:21:19 +09:00
Roland Chernov
375a66e9cf 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
7093b40bdf 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
1e3a19439b Add jira_url_help 2015-07-13 13:10:31 -07:00
Hongxin Liang
87de3e2fac [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
aaea9bdb1f 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
0615ee9a89 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
Paul Robertson
25b20170ea add '--help' to heroku commands 2015-07-09 23:40:35 -04:00
Andrew Janke
555ac8dae9 diagnostics: include detailed OS version info if possible 2015-07-09 21:18:11 -04:00
Takumi IINO
456efc83ba passing the first argument with double quote 2015-07-08 11:16:44 +09:00
Patryk Małek
6f22740629 Concise local variables declarations 2015-07-07 20:26:00 +02:00
Patryk Małek
15a81f45cd More consistent curly braces variables 2015-07-07 20:07:13 +02:00
Patryk Małek
95bf18f361 Making variables local in jira plugin 2015-07-07 20:03:58 +02:00
Patryk Małek
49520524b6 Changing indents to be more consistent (2 spaces) 2015-07-07 19:56:22 +02:00
Patryk Małek
390c7b0eca Changing string comparison for more zsh-like 2015-07-07 18:50:23 +02:00
Headless
c544e87e01 rails rake test 2015-07-07 15:44:35 +03:00
Mohnish Jadwani
470fea0679 adds an alias to search for the rails routes that pattern match a string 2015-07-07 09:47:49 +05:30
Patryk Małek
2124879080 Adding ability to add JIRA_PREFIX as an env variable (e.g. in .zshrc) and minor refactor to bash curly variable braces 2015-07-06 22:00:53 +02:00
Robby Russell
6a4bc5cb79 Merge pull request #4041 from apjanke/fix-jira-prefix-comment-merge
Fix jira plugin syntax error due to merge conflict
2015-07-06 09:33:43 -07:00
Robby Russell
e5d1c05a2b Merge pull request #4106 from apjanke/venvw-no-realpath
virtualenvwrapper: Remove `realpath` dependency using zsh `:A`
2015-07-06 09:32:29 -07:00
Andrew Janke
6d3124e804 agnoster: Protect Unicode esape sequences with local LC_* settings 2015-07-03 01:46:34 -04:00
Andrew Janke
51413aee78 virtualenvwrapper: treat git repos as project roots again (instead of requiring a .venv customization directory)
Change error output to more conventional OMZ format, so it's clear the plugin is for oh-my-zsh and not base zsh.
Use `local` variables instead of manual unsetting.
2015-07-02 21:57:15 -04:00
nextgenthemes
51de78b331 Adds agar = apt-get autoremove
Since #3902 lacks the auto-completion I made a PR for this as well.

Also fixes some typos.
2015-07-02 17:33:30 +02:00
Zhiye Li
ea668b5040 add git alias gcam - git commit -am
add git alias `gcam` -  `git commit -am`
2015-06-30 17:50:01 -05:00
Andrew Janke
2a6695893b virtualenvwrapper: Replace "realpath" with portable zsh-native :A and :h modifiers 2015-06-29 18:55:58 -04:00
Andrew Janke
2ea179630e omz_diagnostic_dump: Add umask and $fpath listing.
This helps catch issues with compinit and insecure directories.
2015-06-28 18:00:47 -04:00
moncho
900e46c101 Plugin now uses completion script from docker-compose repo. 2015-06-28 11:16:17 +02:00
Fredrik Strandin
b4639ac82b Use 'quit all' instead of counting needed quits 2015-06-26 15:47:00 +02:00
Andrew Janke
fb6ab3fd21 osx: fix tab* functions so cd works in iTerm2, exit status is correct, and
error messages are not discarded.
2015-06-26 01:48:17 -04:00
Andrew Janke
97bc1c4efb agnoster: Define Powerline chars with escape sequence, and use same character on
all platforms. Add clarifying comments. This makes everything consistent
with the current Powerline-patched fonts definitions.
2015-06-25 20:13:59 -04:00
Robby Russell
57e04712a6 Merge pull request #4058 from ncanceill/plugin-git
[Hotfix] Git plugin
2015-06-17 14:13:15 -07:00
ncanceill
93fcc08af5 git plugin: fix ggl to avoid empty string
see
https://github.com/robbyrussell/oh-my-zsh/pull/2790#issuecomment-112716330
2015-06-17 22:38:31 +02:00
Arnaud Rinquin
d812a07b93 Fix plugin/git ggpull and ggpush backward compatibility
Current `ggpush` is `git push origin` instead of `git push origin $(current_branch)`
Same for `ggpull`
2015-06-17 22:36:25 +02:00
Michele Bologna
67b555f7fc Change to use omz git_prompt* functions
Removed references for official git __git_ps1() functions.
Change to use omz function git_prompt* functions like:
- git_prompt_info() -> branch name
- git_prompt_status() -> check if untracked, modified, added,
  stashed file are in the current git repo
- git_remote_status() -> check if current repo is ahead, behind,
  or diverged.
These functions returns string automatically added to your PS1;
these are customizable via exporting ZSH_THEME_GIT_PROMPT*
2015-06-16 10:56:19 +02:00
Andrew Janke
b37b350b54 Fix merge conflict for jira-prefix and jira add comment 2015-06-15 16:55:25 -04:00
Robby Russell
c163e0a855 Merge pull request #4002 from aliafshar/patch-1
Add missing space causing parse error.
2015-06-15 08:52:59 -07:00
Michele Bologna
f4ae39cf09 In addition to the already existing variables ZSH_THEME_GIT_PROMPT for behind,
ahead and diverged remote, I added ZSH_THEME_GIT_PROMPT_EQUAL_REMOTE.
2015-06-15 10:15:22 +02:00
Ali Afshar
9148a3fb58 Add missing space causing parse error. 2015-06-14 22:29:11 -07:00
Robby Russell
2fa7c7e3b6 Merge pull request #3852 from sachin21/add_alias_of_bundle_clean
Add alias of bundle clean
2015-06-14 22:28:33 -07:00