mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-12 05:49:47 +08:00
Compare commits
No commits in common. "27402e2603b9354f419af3695bad8ff17ed33bac" and "0e1e877ea9182f87b3ab34cbc2ea944b34f5345e" have entirely different histories.
27402e2603
...
0e1e877ea9
@ -1,6 +1,6 @@
|
||||
# Gas plugin
|
||||
|
||||
This plugin adds autocompletion for the [gas](http://ramblingsby.me/gas/) command,
|
||||
This plugin adds autocompletion for the [gas](http://walle.github.com/gas) command,
|
||||
a utility to manage Git authors.
|
||||
|
||||
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
|
||||
local dir="$PWD" project_root="$PWD"
|
||||
while [[ "$dir" != / ]]; do
|
||||
if [[ -x "$dir/gradlew" ]]; then
|
||||
if [[ -f "$dir/settings.gradle" || -f "$dir/settings.gradle.kts" || -f "$dir/gradlew" ]]; then
|
||||
project_root="$dir"
|
||||
break
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user