summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-03installer: improve message formatting and colorMarc Cornellà
2019-06-03installer: change to --unattended argument and add docsMarc Cornellà
2019-06-03installer: comment changesMarc Cornellà
2019-06-03installer: add option to not run zsh at the endMarc Cornellà
Co-authored-by: Liquidsoul <liquidsoul@liquidsoul.fr> Co-authored-by: Alexander Polynomdivision <digitalmail555@googlemail.com> Co-authored-by: loket <loket@cruftlab.io> Co-authored-by: Connor Demille <subtlepseudonym@gmail.com>
2019-06-03installer: don't run zsh at the endMarc Cornellà
Co-authored-by: Joel Kuzmarski <leoj3n@gmail.com>
2019-06-03installer: add ability to skip the default shell changeMarc Cornellà
Co-authored-by: Marshall Ford <inbox@marshallford.me> Co-authored-by: Joel Kuzmarski <leoj3n@gmail.com>
2019-06-03installer: use timestamped backups to preserve all old zshrcsAndrew Janke
2019-06-03installer: use default color sequences on missing tputMarc Cornellà
Supposed to be POSIX-compatible. Proved to work in dash, yash and whatever alpine uses. See https://unix.stackexchange.com/a/371873
2019-06-03installer: allow configuration of remote URL to clone fromMarc Cornellà
2019-06-03installer: add ability to install from forked & branched reposAndrew Janke
This facilitates testing of changes to the core installation code: you'll be able to do a roundtrip test of install and uninstall using the working code on your branch. Controlled by passing $REPO and $BRANCH environment variables to install.sh.
2019-06-03installer: improve zsh binary path search in setup_shellMarc Cornellà
This changes the behavior to default to the binary found first in $PATH, then checking it's actually in the shells file (/etc/shells). If that fails go back to the previous behavior, but actually check that the path obtained exists in the filesystem. Co-authored-by: Joel Kuzmarski <leoj3n@gmail.com>
2019-06-03installer: fix for Solus OS and systems with no /etc/shellsFran
Co-authored-by: Fredrik Fornwall <fredrik@fornwall.net>
2019-06-03installer: use guard clauses in setup_shell for better readabilityMarc Cornellà
Guard clauses are if constructs that return early if there is an error that prevents continuing. This way there isn't a big nesting of if expressions.
2019-06-03installer: make sure shell in /etc/shells is not commentedRaf Czlonka
Otherwise we risk a situation where a full path to `zsh` is commented, i.e.: #/usr/local/bin/zsh
2019-06-03installer: replace the current shell with the new ZSH instanceLuca S
This replaces the currently running process with the new one using `exec` instead of creating a new process. This way, when the user `exit`s out of the new shell it will not pop them back into the shell from which ohmyzsh was installed from.
2019-06-03installer: abstract error messagesMarc Cornellà
2019-06-03installer: fix for failed chsh quitting the installationMarc Cornellà
2019-06-03installer: extract most code into functionsMarc Cornellà
2019-06-03installer: reorganise and add commentsMarc Cornellà
2019-06-03installer: use tabs to allow future heredocsMarc Cornellà
This will allow us to use tab stripping heredocs with `<<-'. See http://www.tldp.org/LDP/abs/html/here-docs.html#EX71A Add editorconfig file to enforce this style. See http://editorconfig.org for more information.
2019-06-03installer: use exit-on-error from the beginningMarc Cornellà
2019-06-01fasd: update `v` alias to evaluate $EDITOR lazily (#7900)Michael Morgan
For the `v` alias to work in its current state, the environment variable EDITOR must already be defined by the time `source $ZSH/oh-my-zsh.sh` happens. However, in the included zshrc template, EDITOR is set from within the "User configuration" section, which begins immediately after the above line. This means that, unless the user knows to move their `export EDITOR` statements, EDITOR will be undefined when fasd.plugin.zsh loads, and therefore the alias will have the value 'f -e ""', preventing it from functioning. With this change, `"$EDITOR"` will be evaluated each time the alias is invoked, instead of just once when the alias is created. This allows for EDITOR to be set from "User configuration" in the zshrc, and has the additional flexibility of allowing a user to specify a different EDITOR for a single session or invocation of the alias.
2019-05-28aws: use function keyword in function definitionsMarc Cornellà
Fixes #7886
2019-05-27osx: add more arguments to `itunes vol` command (#7845)Pete Johns
- Get the iTunes volume without an argument - Shift up / down iTunes volume
2019-05-26aws: check availability of aws profiles (#7839)programmer04
2019-05-25ng: fix shwordsplit option use (#7880)Rachel M. Carmena
2019-05-25emotty: fix for undefined $TTY (FreeBSD) (#7844)Marc Cornellà
See https://github.com/robbyrussell/oh-my-zsh/pull/6731#issuecomment-449653115
2019-05-25frontend: add frontend search commands (#7863)Will Mendes
2019-05-25aws: check for existence of config file in aws_profilesMarc Cornellà
Fixes #7872
2019-05-24torrent: add README (#7873)Aliaksei Maiseyeu
2019-05-21Add new kubectl alias to list all contexts (#7823)Miral
* Add alias to list all contexts * Update readme to include new alias
2019-05-21meta: update issue templatesMarc Cornellà
2019-05-21git: clean up plugin file and delete current_repository functionMarc Cornellà
Closes #6329
2019-05-21git: move documentation from wiki to READMEMarc Cornellà
2019-05-20svn-fast-info: fix svn-fast-info printfs (#7140)Melebius
The svn-fast-info plugin printf commands was not well formatted, now it can handle empty variables. Also removed redundant spaces. Co-authored-by: RazManor <Raz.Manor@valens.com> Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2019-05-19dotenv: add support for custom env file names (#7861)Arshad Kazmi
2019-05-19vi-mode: reset KEYMAP on accept-line (#7818)Marc Cornellà
Fixes #7797
2019-05-17rails: change rg alias to `rgen` (#7858)Mert Simsek
The rg alias conflicted with ripgrep.
2019-05-16meta: add initial issue templatesMarc Cornellà
This commit adds the following issue categories: - Bug report - Feature request - Support
2019-05-11lib: add ability to disable magic functionsMarc Cornellà
Fixes #5499 Fixes #5569 Fixes #6338 Fixes #6654 Fixes #6255 Fixes #7632 Closes #7763 Co-authored-by: Daniel Galán y Martins <git@galan.de>
2019-05-10aws: really unset AWS*PROFILE variables in asp function (#7838)Mohamed El Mouctar Haidara
2019-05-09osx: update spotify to v2.1 (#7820)DT
2019-05-08jira: add a myissues option (#6696)Marc Cornellà
This will allow the user to directly open the "my open issues" page. This will make it easier for the user to open their open issues in jira.
2019-05-08Merge branch 'master' into masterMarc Cornellà
2019-05-08Add plugin for Please (#6568)chpeer
2019-05-08vscode: add code-insiders support (#7836)George Cheng
2019-05-08Add plugin for SDKMAN (#6483)Rahul Somasunderam
SDKMAN! is a tool for managing parallel versions of multiple Software Development Kits on most Unix based systems.
2019-05-08rbenv: improve rbenv loading based on pyenv (#7626)Thomas Kriechbaumer
2019-05-08Add plugin for pipenv (#6698)Alan
- Add completion for pipenv - Auto activate and deactivate for pipenv shell - Add aliases for the most common pipenv commands
2019-05-08Merge branch 'apjanke/themes-rvm-prompt-function' (#4588)Marc Cornellà
Fixes #4272 Fixes #4182 Closes #4197 Closes #4588