summaryrefslogtreecommitdiff
path: root/oh-my-zsh.sh
AgeCommit message (Collapse)Author
2020-06-18init: don't run update check if DISABLE_AUTO_UPDATE (#9040)Ye Shu
skip the update check at initialization if DISABLE_AUTO_UPDATE is set to true
2020-06-17init: run update check in the same zsh process (#9019)Marc Cornellà
2020-06-09update: refactor and fix logic in check_for_upgrade.sh (#8939)Marc Cornellà
2020-06-03init: reapply hack for invalid ZSH_COMPDUMP filenames (b8761985)Marc Cornellà
2020-06-02init: oopsMarc Cornellà
2020-06-02init: use grep for zcompdump metadata checkMarc Cornellà
Closes #8981
2020-05-20Prefix cd calls with `builtin` (#8937)Jacob Menke
2020-05-07init: silence zcompdump metadata write for invalid ZSH_COMPDUMP filenamesMarc Cornellà
If `$SHORT_HOST` contains invalid filename characters, the compinit call doesn't error, but the zcompdump metadata write does. Use `tee` instead so we can silence the error. See https://github.com/ohmyzsh/ohmyzsh/commit/dd1a72696f162fd5285a104b5f63970deb66e8b0#commitcomment-38984764
2020-05-05core: fix cmp invocation in BSD systemsMarc Cornellà
BSD cmp doesn't have the option of reading from stdin, so use process substitution instead.
2020-05-04core: refresh zcompdump cache file in init script (#8878)Marc Cornellà
2020-05-01core: move core folder to lib, for nowMarc Cornellà
2020-05-01core: add basic Oh My Zsh CLI (#8876)Marc Cornellà
2020-02-19Move random theme functionality into "random" themeWilly Weiskopf
The statements for selecting a random theme in oh-my-zsh.sh and the themes plugin are duplicate. Most people eventually settle on a theme, making those lines in oh-my-zsh.sh superfluous. To address those, it may makes sense to put the random theme functionality into a theme of its own (since themes are just zsh scripts.
2020-01-19init: force use of builtin test in is_pluginMarc Cornellà
Fixes #8545
2019-05-07init: run compinit before loading lib/ filesMarc Cornellà
2019-04-03init: more informative warning if plugin not found (#7727)Greg
2019-03-22init: fix erroneous plugin not found warning (#7686)Avi ד
Co-authored-by: Se De <Sede7473@gmail.com>
2019-03-21init: notify user if plugin isn't found (#7679)SomeDer
2019-02-25init: cut down on the number of compaudit callsMarc Cornellà
2018-06-15migrate .zsh-update fileChao Du
2018-06-15Fixed Issue #4550: Move ~/.zsh-update file to $ZSH_CACHE_DIRChao Du
2018-05-26Always load secure completion directoriesMarc Cornellà
2018-05-15Load insecure completion files if compfix is disabledMarc Cornellà
We have to assume that if people disabled the compfix system they really want their completion to work, ignoring any permission issues. Fixes #5651 Fixes #5957 Fixes #6461
2017-11-01Merge branch 'Random_Theme_From_List' of https://github.com/Gnouc/oh-my-zsh ↵Robby Russell
into Gnouc-Random_Theme_From_List
2016-10-18Change from OSX to macOS in README (#5545)Mason
2016-08-25init script: remove trailing slash from $ZSH_CACHE_DIRMarc Cornellà
2015-12-18Some improvementsLE Manh Cuong
- Adding documentation - Note the effect empty array - Fix spelling - Using new test `[[...]]`
2015-12-18Allow loading themes from predefined listLE Manh Cuong
2015-09-28completion: turn off the #3889 compfix check by defaultAndrew Janke
2015-09-19Merge pull request #3889 from leycec/compauditRobby Russell
Repair `zsh` Path Permissions on `oh-my-zsh` Startup under Cygwin
2015-08-08Revert "Move custon *.zsh file sourcing up so that they can load plugins and ↵Marc Cornellà
other things that come after." This reverts commit a28dbc83937cbe624ec726199b4bbe7b65b2b2a0.
2015-07-20Completion insecurities handled on startup.leycec
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-06-11fix typoArchie
2015-06-10Move custon *.zsh file sourcing up so that they can load plugins and other ↵Matthew Hager
things that come after.
2015-01-08Allow custom cache dirStephen
We are running oh-my-zsh on a shared install and the only issue is each user having a custom cache dir. This will allow us to set the cache dir to ZSH_CACHE_DIR=~/oh-my-zsh/cache/ .
2014-12-08allow overriding lib/*.zsh in custom/libWill Boyce
2014-09-03Merge pull request #2743 from docwhat/issue-2155-scutilRobby Russell
Trust but verify 'scutil' to return ComputerName
2014-08-20Replace /usr/bin/env with envFredrik Fornwall
Some environments (such as Android) does not have /usr/bin.
2014-07-23Trust but verify 'scutil' to return ComputerNameChristian Höltje
Apparently, it is possible to set up a Mac such that `scutil --get ComputerName` hasn't been set. This change checks if that fails and falls back to the original mechanism. Closes #2155 Closes #2183
2014-06-07Don't override ZSH_COMPDUMP if already set.Christian Höltje
This allows customization via .zshenv if wanted. This is helpful for zsh developers and people who want to move it out of $HOME
2013-12-13Prevents oh-my-zsh loading the .zshenv twiceJuan Ignacio Donoso
2013-11-16standardize logic blocksEddie Monge
2013-05-17Create the zcompdump based on version and hostChristian Höltje
This will prevent lots of subtle problems that happen when people upgrade ZSH or use NFS mounted home directories. The ZSH_COMPDUMP variable can also be used to implement `zcompile` and other fun features in the future.
2013-04-23Merge pull request #1569 from ZeroKnight/masterRobby Russell
Better custom theme loading
2013-04-07005d967dc4e879f304607a706ccd18886e630dc1Robby Russell
2013-01-30Better custom theme loadingAlex
oh-my-zsh.sh now also checks for $ZSH_CUSTOM/themes/$ZSH_THEME.zsh-theme when attempting to load a theme. This way custom themes can be a bit more organized in the 'custom' dir
2012-12-05Unset `config_file` variable in oh-my-zsh.shLarry Lv
`config_file` variable will mess up with `cd` auto-complete command. eg. I have a local dir named `Code`, and when I type `cd co<Tab>`, config_file will show up, and doesn't make any sense...
2012-10-30Expand for-loop so that it works under Snow Leopard Terminal.app.Hok Shun Poon
2012-05-23Load symlink custom filesnatsumesou
`(.)` search only real files. The deletion of it enables searching symlink *.zsh files
2012-05-06Load themes from `$ZSH_CUSTOM` instead of `$ZSH/custom`Jim Myhrberg
This seems like a simple oversight, everything else uses `$ZSH_CUSTOM` rather than `$ZSH/custom`.