1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-02-12 05:49:47 +08:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Jake Conway
27402e2603
docs(gas): update plugin url (#11918) 2023-09-29 11:24:40 +01:00
Piotr Minkina
d3b6f1fd5e
fix(gradle): remove look for settings.gradle files (#11917) 2023-09-28 22:43:06 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Gas plugin # Gas plugin
This plugin adds autocompletion for the [gas](http://walle.github.com/gas) command, This plugin adds autocompletion for the [gas](http://ramblingsby.me/gas/) command,
a utility to manage Git authors. a utility to manage Git authors.
To use it, add `gas` to the plugins array of your zshrc file: To use it, add `gas` to the plugins array of your zshrc file:

View File

@ -6,7 +6,7 @@ function gradle-or-gradlew() {
# taken from https://github.com/gradle/gradle-completion # taken from https://github.com/gradle/gradle-completion
local dir="$PWD" project_root="$PWD" local dir="$PWD" project_root="$PWD"
while [[ "$dir" != / ]]; do while [[ "$dir" != / ]]; do
if [[ -f "$dir/settings.gradle" || -f "$dir/settings.gradle.kts" || -f "$dir/gradlew" ]]; then if [[ -x "$dir/gradlew" ]]; then
project_root="$dir" project_root="$dir"
break break
fi fi