Compare commits

..
Author SHA1 Message Date
Robby RussellandClaude Fable 5.1 ce38abe854 docs(gh): fix the completion cache path in the README
The cache section still described the pre-#10616 layout: a _gh file inside
the plugin directory and a gh_version marker. The plugin has written to
$ZSH_CACHE_DIR/completions/_gh since then and keeps no version file.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-21 13:10:23 -07:00
5 changed files with 5 additions and 15 deletions
@@ -57,7 +57,7 @@ function frontend() {
codepen 'https://codepen.io/search/pens?q='
compassdoc 'http://compass-style.org/search?q='
cssflow 'http://www.cssflow.com/search?q='
dartlang $(_frontend_fallback 'dart.dev')
dartlang 'https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart:'
emberjs $(_frontend_fallback 'emberjs.com/')
flowtype $(_frontend_fallback 'flow.org/en/docs/')
fontello 'http://fontello.com/#search='
+1 -4
View File
@@ -17,7 +17,4 @@ plugin is loaded, which is usually when you start up a new terminal emulator.
The cache is stored at:
- `$ZSH/plugins/gh/_gh` completions script
- `$ZSH_CACHE_DIR/gh_version` version of GitHub CLI, used to invalidate
the cache.
- `$ZSH_CACHE_DIR/completions/_gh` completions script
+1
View File
@@ -15,6 +15,7 @@ function gradle-or-gradlew() {
# if gradlew found, run it instead of gradle
if [[ -f "$project_root/gradlew" ]]; then
echo "executing gradlew instead of gradle"
"$project_root/gradlew" "$@"
else
command gradle "$@"
+1 -3
View File
@@ -19,6 +19,4 @@ Provided aliases:
- `ot`: generates a MFA code based on the given key and copies it to the clipboard
(on Linux it relies on xsel, on MacOS X it uses pbcopy instead).
The plugin stores its internal files in `$OTP_HOME`, which can be set in your zshrc.
If `$OTP_HOME` is not set it defaults to either `$HOME/.otp` or `$XDG_DATA_HOME/otp`,
depending on whether `~/.otp` already exists, or whether `$XDG_DATA_HOME` is set.
The plugin uses `$HOME/.otp` to store its internal files.
+1 -7
View File
@@ -1,10 +1,4 @@
if [[ -z "$OTP_HOME" ]]; then
if [[ ! -d "$HOME/.otp" ]] && [[ -n "$XDG_DATA_HOME" ]]; then
export OTP_HOME="$XDG_DATA_HOME/otp"
else
export OTP_HOME=~/.otp
fi
fi
export OTP_HOME=~/.otp
mkdir -p $OTP_HOME
function ot () {