- 11 Jun, 2019 1 commit
-
-
Marc Cornellà authored
* Use double quotes to cache value of $apt_pref and $apt_upgr * Clean up and fix syntax of command checks * Clean up README and document $apt_pref/$apt_upgr overriding mechanism * Rename `ag` alias (apt upgrade) to `au` * Clean up README and fix syntax Fixes #3686 Fixes #4660 Closes #5906 Co-authored-by: Noah Vesely <fowlslegs@riseup.net>
-
- 10 Jun, 2019 1 commit
-
-
Marc Cornellà authored
-
- 09 Jun, 2019 2 commits
-
-
Ryan Greenblatt authored
Zsh may be configured such that ">>" will error if the file doesn't exist (`setopt noclobber`).
-
Marc Cornellà authored
tput is error-prone and may not be needed, since all the formatting codes used are standard across all types of terminals.
-
- 08 Jun, 2019 1 commit
-
-
Felipe Contreras authored
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
-
- 07 Jun, 2019 2 commits
-
-
Roger Steneteg authored
-
Felipe Contreras authored
* gitfast: use $OSTYPE again In the last update to upstream this was reverted: a56eac7a (Use OSTYPE instead of uname whenever possible for better speed. (#5496)) Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> * gitfast: simplify plugin No need to set and unset a variable we use once. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> * gitfast: add script to update from upstream This would make easier the process of updating, and also not miss our patches. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> * gitfast: update to upstream v2.21 Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
-
- 03 Jun, 2019 26 commits
-
-
Marc Cornellà authored
installer: fix, refactor and add installer arguments
-
Marc Cornellà authored
-
Marc Cornellà authored
-
Marc Cornellà authored
tput may throw errors on invalid $TERM values, for example. This shorthand syntax allows for that as well as for if tput doesn't exist.
-
Zach Whitten authored
Co-authored-by: Antonio QUINTAVALLE <antonio.quintavalle@amadeus.com> Co-authored-by: Marc Cornellà <marc.cornella@live.com>
-
Marc Cornellà authored
-
Marc Cornellà authored
-
Marc Cornellà authored
-
Marc Cornellà authored
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>
-
Marc Cornellà authored
Co-authored-by: Joel Kuzmarski <leoj3n@gmail.com>
-
Marc Cornellà authored
Co-authored-by: Marshall Ford <inbox@marshallford.me> Co-authored-by: Joel Kuzmarski <leoj3n@gmail.com>
-
Andrew Janke authored
-
Marc Cornellà authored
Supposed to be POSIX-compatible. Proved to work in dash, yash and whatever alpine uses. See https://unix.stackexchange.com/a/371873
-
Marc Cornellà authored
-
Andrew Janke authored
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.
-
Marc Cornellà authored
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>
-
Fran authored
Co-authored-by: Fredrik Fornwall <fredrik@fornwall.net>
-
Marc Cornellà authored
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.
-
Raf Czlonka authored
Otherwise we risk a situation where a full path to `zsh` is commented, i.e.: #/usr/local/bin/zsh
-
Luca S authored
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.
-
Marc Cornellà authored
-
Marc Cornellà authored
-
Marc Cornellà authored
-
Marc Cornellà authored
-
Marc Cornellà authored
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.
-
Marc Cornellà authored
-
- 01 Jun, 2019 1 commit
-
-
Michael Morgan authored
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.
-
- 28 May, 2019 1 commit
-
-
Marc Cornellà authored
Fixes #7886
-
- 27 May, 2019 1 commit
-
-
Pete Johns authored
- Get the iTunes volume without an argument - Shift up / down iTunes volume
-
- 26 May, 2019 1 commit
-
-
programmer04 authored
-
- 25 May, 2019 3 commits
-
-
Rachel M. Carmena authored
-
Will Mendes authored
-