Skip to content

Instantly share code, notes, and snippets.

@andygoossens
andygoossens / gradlew.fish
Last active May 31, 2024 21:06
Fish Shell completion for Gradle wrapper (gradlew)
# Gradle is an build automation tool
# See: https://gradle.org
# https://github.com/hanny24/gradle-fish/blob/master/gradle.load
function __cache_or_get_gradlew_completion
# Set up cache directory
if test -z $XDG_CACHE_HOME
set XDG_CACHE_HOME $HOME/.cache/
end
mkdir -m 700 -p $XDG_CACHE_HOME/gradlew-completions
045487b5f522e8297e3ba9d646ab12a6266b24bd46bec96b965d109291d579a8af75a4bb8de6a27036ee5475e5b9ff8f5d11234d32e78838ec75cae2d9527c51c7;c-darwin