Commit Graph
100 Commits
Author SHA1 Message Date
Marc CornellàandGitHub 3cc1fa4046 Fix non-POSIX conditional syntax
Fixes #8416
2019-11-21 19:10:30 +01:00
Marc CornellàandGitHub 1c98b9cc38 Remove current directory from sys.path in python invocations (#8408)
* Remove current directory from sys.path in python invocations
2019-11-21 03:29:16 +01:00
Marc CornellàandRobby Russell b80b1a1e8b Actions to take after repository migration is complete (#8394)
* Change project URL from robbyrussell to ohmyzsh org

* Update git remote to use ohmyzsh org repository
2019-11-20 17:26:18 -08:00
Marc CornellàandGitHub 4888d4ad1a Add Twitter follow badge to README 2019-11-18 00:07:06 +01:00
Marc CornellàandGitHub 2810a37402 Add Discord badge to README 2019-11-17 23:53:42 +01:00
Marc CornellàandGitHub 24726678dd extract: keep *.gz files with pigz and gunzip
Fixes #8368
2019-11-09 12:37:41 +01:00
Marc CornellàandGitHub 107e512c9e Remove line below copyright so that GitHub shows LICENSE details 2019-11-06 21:22:15 +01:00
Marc Cornellà 1546e1226a Fix badly resolved rebase conflict 2019-11-06 19:46:52 +01:00
Marc Cornellà 4a9cd68ea6 Merge branch 'jokester/override--ignore-submodules' (#2214)
Closes #2214
2019-11-06 19:42:08 +01:00
Marc Cornellà b7e37cea90 Clean up ignore submodules logic in parse_git_dirty 2019-11-06 19:41:13 +01:00
Marc CornellàandGitHub 687c50bdf9 fabric: fix awk "return not in function" error in completion
Fixes #8337
2019-10-30 23:12:45 +01:00
Marc CornellàandGitHub ce52ee0252 Add profiles documentation (#8311)
* Add profiles documentation

* Fix order and reword some things
2019-10-25 13:15:12 +02:00
Marc CornellàandGitHub c1e5cbed5b Fix order and reword some things 2019-10-25 13:14:36 +02:00
Marc CornellàandGitHub 9d790ea60c fabric: add task descriptions to completion (#5439)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2019-10-24 18:02:26 +02:00
Marc CornellàandGitHub cad48e38bf Merge branch 'master' into fabric_task_description 2019-10-24 17:57:01 +02:00
Marc CornellàandGitHub 225425fe09 Fix target_list creation. Supports fabric 1 and 2 2019-10-24 17:56:08 +02:00
Marc Cornellà 534ec60bfd Set default git-config values known to fix repository issues
- core.autocrlf=false -> #4069
- fsck.zeroPaddedFilemode -> #4963

Fixes #4069
Fixes #4963
2019-10-21 17:00:04 +02:00
Marc Cornellà 05dfd0ae85 cargo: update completion to latest version (cdac4a8)
https://github.com/rust-lang/cargo/blob/cdac4a8/src/etc/_cargo
2019-10-19 17:51:28 +02:00
Marc CornellàandGitHub 66290a39c8 supervisor: add README and update completion (#8285) 2019-10-19 17:35:13 +02:00
Marc CornellàandGitHub bd9cd052f1 docker: reformat README (#8286) 2019-10-19 17:30:04 +02:00
Marc CornellàandGitHub 160a801bed Clean up README 2019-10-19 17:29:46 +02:00
Marc CornellàandGitHub f48a40ee91 Reorganize stuff 2019-10-19 17:28:43 +02:00
Marc CornellàandGitHub 87bd507fcf pod: add README (#8257) 2019-10-15 23:27:31 +02:00
Marc CornellàandGitHub ca6b397783 meta: remove automatic bug label on bug reports
People sometimes use the bug report template for things that are support.
Maintainers will confirm whether it's a bug with the appropriate label.
2019-10-15 22:56:45 +02:00
Marc CornellàandGitHub f56b678888 fzf: check for dpkg before checking for fzf in debian
Fixes #8253
Co-authored-by: Mariusz B <mb@binary-offensive.com>
2019-10-15 16:51:51 +02:00
Marc CornellàandGitHub 52f5878564 rust: add README (#8242) 2019-10-10 11:08:18 +02:00
Marc CornellàandGitHub bb97a9b3ec Delete alias section 2019-10-10 11:07:33 +02:00
Marc CornellàandGitHub ba57b5c706 chruby: add README (#8238) 2019-10-09 18:13:13 +02:00
Marc CornellàandGitHub 98cd133c4d Reword and add extra information 2019-10-09 18:12:58 +02:00
Marc CornellàandGitHub 66bd299bcd compleat: add README (#8236) 2019-10-09 18:07:38 +02:00
Marc CornellàandGitHub 7ea05bd500 Change description 2019-10-09 18:07:02 +02:00
Marc Cornellà c9841f43b1 yarn: use zsh-completions latest version (87e1313)
Closes #7300
Closes #8115
Closes #8118
2019-10-09 15:12:00 +02:00
Marc CornellàandGitHub 13d889470e ufw: add README (#8227) 2019-10-07 18:08:35 +02:00
Marc CornellàandGitHub a3b63aa6ab Reword 2019-10-07 18:08:14 +02:00
Marc CornellàandGitHub e2d5426f42 perl: add README (#8215) 2019-10-07 17:41:09 +02:00
Marc CornellàandGitHub 896dd271c8 Some syntax changes and more function docs 2019-10-07 17:40:51 +02:00
Marc CornellàandGitHub d8a7884731 redis-cli: add README (#8214) 2019-10-07 17:26:05 +02:00
Marc CornellàandGitHub a9d382a297 Small changes 2019-10-07 17:25:44 +02:00
Marc CornellàandGitHub b45e0f4836 dash: simplify completion logic 2019-10-07 17:08:38 +02:00
Marc CornellàandGitHub e0bc646993 dash: add README (#8221) 2019-10-07 17:04:55 +02:00
Marc CornellàandGitHub 357336bfb3 Remove redundant section and document keyword args 2019-10-07 17:04:31 +02:00
Marc CornellàandGitHub d9bb732eac rvm: add README (#8199) 2019-10-03 13:52:01 +02:00
Marc CornellàandGitHub 1a6480e486 bundler: add rubocop to bundled_commands (#8169) 2019-10-02 18:55:47 +02:00
Marc Cornellà e38099de96 sublime: ignore wslpath errors if C drive is missing 2019-10-02 13:10:36 +02:00
Marc CornellàandGitHub bf0cf4eb1e yarn: add Yarn Workspace aliases (#7491) 2019-10-01 22:24:48 +02:00
Marc CornellàandGitHub a6d71ddadb Update README with up-to-date platform requirements
Co-authored-by: Emil Engler <me@emilengler.com>
Closes #8157
2019-10-01 21:11:18 +02:00
Marc CornellàandGitHub bb6ae70b92 fzf: add support for debian packages (#8001) 2019-10-01 13:34:13 +02:00
Marc CornellàandGitHub 86dd1a480a react-native: add aliases for newer iPhones (#8170)
Added aliases for iPhone 11, 11 Pro, and 11 Pro Max
2019-09-30 19:49:59 +02:00
Marc CornellàandGitHub 487f0af412 Fix table alignment 2019-09-30 19:49:09 +02:00
Marc Cornellà 095d56b5ea Fix WSL check for WSL 2 and simplify nohup in open_command
WSL 2 changes the output of `uname -r`. For instance,

  WSL 1: 4.4.0-18980-Microsoft
  WSL 2: 4.19.67-microsoft-standard

Since WSL 2 lowercases the M, we can match for the rest of the string
which remains lowercase throughout both versions. Another option would
be to match for both upper- and lower-case Ms, like that:

  $(uname -r) = *[Mm]icrosoft*

Fixed use of nohup in open_command where it was only necessary for
xdg-open (and actually harmful for cmd.exe in WSL 2). The current logic
is simpler and more future-proof.
2019-09-19 16:20:02 +02:00
Marc CornellàandGHPS 576e0992ca z: update to latest version (e77e938)
Closes #8145

Co-authored-by: GHPS <GHPS@users.noreply.github.com>
2019-09-13 11:44:20 +02:00
Marc CornellàandGitHub 093b56a7d7 git: fix gtl alias argument
Fixes the error `no matches found` because the argument is not quoted.
See https://github.com/robbyrussell/oh-my-zsh/pull/7629#issuecomment-531151821
2019-09-13 11:20:20 +02:00
Marc Cornellà fd4571d1b0 installer: allow chsh to work in termux 2019-09-08 21:35:45 +02:00
Marc CornellàandGitHub f9e133b88a gitfast: fix error in git-prompt.sh (#8132)
An error was thrown (`bash: [: =: unary operator expected`) when using the __git_ps1_colorize_gitstring function outside of the one place it's called (line 512), because the "detached" variable was not quoted, and was unset.
2019-09-08 20:29:43 +02:00
Marc CornellàandGitHub 4fb50b3333 Unquote yes in conditional expressions for style consistency 2019-09-08 20:28:59 +02:00
Marc Cornellà 101ea87232 ssh-agent: check if ssh-add -l was successful 2019-09-08 16:07:06 +02:00
Marc CornellàandGitHub 2b4d72322b debian: fix bad function definitions (#8129)
* Fix bad function definitions in Debian plugin

There appears to be a definition issue for some functions/aliases which
result in the following errors when sourcing .zshrc:

```
/home/username/.oh-my-zsh/plugins/debian/debian.plugin.zsh:75: defining function based on alias `abd'
/home/username/.oh-my-zsh/plugins/debian/debian.plugin.zsh:75: parse error near `()'
```

Fixes #7986

* Update syntax on the remaining functions
2019-09-08 14:59:50 +02:00
Marc CornellàandGitHub a870fee6a7 Update syntax on the remaining functions 2019-09-08 14:58:46 +02:00
Marc Cornellà a4f6a9964c meta: remove PR triage GitHub action 😢
We do this because the GitHub Actions behavior was changed recently
so as to not pass secrets to action runs started from forks, therefore
the API token passed cannot be used to change PR labels.

There may be an alternative in the future.
2019-09-03 21:19:38 +02:00
Marc CornellàandGitHub d6fc6edb29 git: fix gbda trying to delete worktree branches (#8102)
Git learned to add a `+` in front of branches that are
checked out in other worktrees.

See: https://github.com/git/git/blob/745f6812895b31c02b29bdfe4ae8e5498f776c26/Documentation/RelNotes/2.23.0.txt#L252-L256
2019-08-23 17:16:04 +02:00
Marc CornellàandGitHub 3e0e9136cc homestead: change key string for getting command list (#8008) 2019-08-23 13:37:28 +02:00
Marc CornellàandGitHub e604eaf55e lib: delete LC_CTYPE locale setting which causes problems
Fixes #7942
2019-08-19 18:17:17 +02:00
Marc CornellàandGitHub c4c620adcd meta: add DEBUG_ACTIONS flag to PR triage action 2019-08-18 15:13:46 +02:00
Marc CornellàandGitHub 28232904be git-auto-fetch: override zle-line-init only if it exists 2019-08-13 18:19:07 +02:00
Marc CornellàandGitHub 4974143745 meta: move if condition on workflow to steps
Provisional measure due to "Unexpected value 'if'" error. See https://github.community/t5/GitHub-API-Development-and/jobs-lt-job-id-gt-if-not-working/m-p/28980
2019-08-13 15:10:15 +02:00
Marc Cornellà d8ad4e902c meta: convert workflow file to GitHub Actions v2 yml syntax 2019-08-13 14:15:14 +02:00
Marc CornellàandGitHub 2156b4c081 colored-man-pages: add option to color any help command (#7173)
This allows you to use `colored git log --help` for example, to get
colored output.
2019-08-07 20:10:54 +02:00
Marc CornellàandGitHub 89366be43f Revert "agnoster: fix VIRTUAL_ENV_DISABLE_PROMPT logic (#8050)" (#8061)
This reverts commit 59c1ec80aa.
2019-08-06 18:01:32 +02:00
Marc CornellàandGitHub 17f4cfca99 af-magic: make separator window-size-aware (#7739) 2019-07-13 12:48:10 +02:00
Marc CornellàandGitHub fb43df128f colorize: add style environment variable (#7635) 2019-06-15 20:48:45 +02:00
Marc CornellàandGitHub 69f37800be ubuntu: plugin cleanup and rename of ag alias to age (#7700)
* Clean up plugin and README
* Rename ag to age to avoid conflict with The Silver Searcher
  Fixes #3866
2019-06-11 15:05:55 +02:00
7f98e1cb52 debian: fix alias completion, rename ag and clean up README (#7698)
* 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>
2019-06-11 15:02:04 +02:00
Marc CornellàandGitHub 24cd8e8314 meta: change feature request label 2019-06-10 15:50:25 +02:00
Marc Cornellà 702a594df3 installer: don't rely on tput for coloring
tput is error-prone and may not be needed, since all the formatting
codes used are standard across all types of terminals.
2019-06-09 16:33:06 +02:00
Marc CornellàandGitHub 52fdae4b3d Merge pull request #5169 from mcornella/refactor-installer
installer: fix, refactor and add installer arguments
2019-06-03 17:19:37 +02:00
Marc Cornellà c8ac4038cf installer: add documentation of new installer features to README 2019-06-03 17:18:26 +02:00
Marc Cornellà b944fee6ea installer: ask user about changing the shell to zsh 2019-06-03 17:18:25 +02:00
Marc Cornellà 0824dcc9fb installer: allow for tput errors
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.
2019-06-03 17:18:25 +02:00
Marc Cornellà 66d6d08841 installer: improve message formatting and color 2019-06-03 17:18:25 +02:00
Marc Cornellà b931d6a9db installer: change to --unattended argument and add docs 2019-06-03 17:18:25 +02:00
Marc Cornellà 065844fdc0 installer: comment changes 2019-06-03 17:18:25 +02:00
1cf42a506f installer: add option to not run zsh at the end
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-03 17:18:25 +02:00
Marc CornellàandJoel Kuzmarski a40d93295f installer: don't run zsh at the end
Co-authored-by: Joel Kuzmarski <leoj3n@gmail.com>
2019-06-03 17:18:24 +02:00
794ff4a62d installer: add ability to skip the default shell change
Co-authored-by: Marshall Ford <inbox@marshallford.me>
Co-authored-by: Joel Kuzmarski <leoj3n@gmail.com>
2019-06-03 17:18:24 +02:00
Marc Cornellà 153f5e11ed installer: use default color sequences on missing tput
Supposed to be POSIX-compatible. Proved to work in dash, yash and whatever
alpine uses. See https://unix.stackexchange.com/a/371873
2019-06-03 17:18:24 +02:00
Marc Cornellà 220d69b2ce installer: allow configuration of remote URL to clone from 2019-06-03 17:18:24 +02:00
Marc CornellàandJoel Kuzmarski a6a093ba2a installer: improve zsh binary path search in setup_shell
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-03 17:18:24 +02:00
Marc Cornellà 62216aaa8f installer: use guard clauses in setup_shell for better readability
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-03 17:18:23 +02:00
Marc Cornellà 1fdd5351fb installer: abstract error messages 2019-06-03 17:18:23 +02:00
Marc Cornellà 576499a5ad installer: fix for failed chsh quitting the installation 2019-06-03 17:18:23 +02:00
Marc Cornellà a7bd1f99ae installer: extract most code into functions 2019-06-03 17:18:23 +02:00
Marc Cornellà f94443925d installer: reorganise and add comments 2019-06-03 17:18:23 +02:00
Marc Cornellà 73ef051aae installer: use tabs to allow future heredocs
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-03 17:18:22 +02:00
Marc Cornellà 9a832cccef installer: use exit-on-error from the beginning 2019-06-03 17:18:22 +02:00
Marc Cornellà 9930dd6e49 aws: use function keyword in function definitions
Fixes #7886
2019-05-28 15:33:02 +02:00
Marc CornellàandGitHub 1f07889888 emotty: fix for undefined $TTY (FreeBSD) (#7844)
See https://github.com/robbyrussell/oh-my-zsh/pull/6731#issuecomment-449653115
2019-05-25 12:19:51 +02:00
Marc CornellàandGitHub 9598a855fa aws: check for existence of config file in aws_profiles
Fixes #7872
2019-05-25 10:24:43 +02:00
Marc Cornellà f62a71e9de meta: update issue templates 2019-05-21 11:53:52 +02:00
Marc Cornellà 4ad4a81657 git: clean up plugin file and delete current_repository function
Closes #6329
2019-05-21 11:04:01 +02:00
Marc Cornellà f8d5fdce3a git: move documentation from wiki to README 2019-05-21 11:04:01 +02:00