mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-12 05:49:47 +08:00
Compare commits
2 Commits
0e1e877ea9
...
27402e2603
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
27402e2603 | ||
|
|
d3b6f1fd5e |
@ -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:
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user