Skip to content

Commit

Permalink
Revert "fix(wsl/home/.config/mise/config.toml): use cache for exec te…
Browse files Browse the repository at this point in the history
…mplates"

This reverts commit 0fcc7c9.
  • Loading branch information
risu729 committed Dec 16, 2024
1 parent 0fcc7c9 commit 477d407
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tasks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ hide = true
["worker:dev"]
depends = ["buni:worker"]
dir = "worker"
run = "bun run wrangler dev ${{ exec(command='mise run worker:wrangler-args') }]"
run = "args=$(mise run worker:wrangler-args) && bun run wrangler dev $args"

["worker:test"]
depends = ["buni:worker"]
Expand Down
5 changes: 0 additions & 5 deletions wsl/home/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,3 @@ gcd() {
root=$(ghq root)
[[ -n ${dir} ]] && cd "${root}/${dir}" || return 1
}


# gpg
GPG_TTY=$(tty)
export GPG_TTY
4 changes: 2 additions & 2 deletions wsl/home/.config/mise/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ min_version = "2024.12.8"
# disable bat paging
BAT_PAGING = "never"
# gpg requires tty
GPG_TTY={value="{{ exec(command='tty', cache_key='tty', cache_duration='1 week') }}", tools=true}
GPG_TTY={value="{{ exec(command='tty') }}", tools=true}
# set GITHUB_TOKEN to avoid rate limit while using mise
GITHUB_TOKEN={value="{{ exec(command='gh auth token', cache_key='github_token', cache_duration='1 day') }}", tools=true}
GITHUB_TOKEN={value="{{ exec(command='gh auth token') }}", tools=true}

[tools]
# language tools
Expand Down

0 comments on commit 477d407

Please sign in to comment.