mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-12 05:49:47 +08:00
Compare commits
4 Commits
048455ccef
...
38c01a235f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
38c01a235f | ||
|
|
cb86d378f2 | ||
|
|
7733e3ab57 | ||
|
|
7348d12f8e |
6
.github/workflows/installer.yml
vendored
6
.github/workflows/installer.yml
vendored
@ -3,9 +3,9 @@ on:
|
||||
workflow_dispatch: {}
|
||||
push:
|
||||
paths:
|
||||
- tools/install.sh
|
||||
- .github/workflows/installer
|
||||
- .github/workflows/installer.yml
|
||||
- 'tools/install.sh'
|
||||
- '.github/workflows/installer/**'
|
||||
- '.github/workflows/installer.yml'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
|
||||
11
.github/workflows/installer/vercel.json
vendored
11
.github/workflows/installer/vercel.json
vendored
@ -2,7 +2,16 @@
|
||||
"headers": [
|
||||
{
|
||||
"source": "/((?!favicon.ico).*)",
|
||||
"headers": [{ "key": "Content-Type", "value": "text/plain" }]
|
||||
"headers": [
|
||||
{
|
||||
"key": "Content-Type",
|
||||
"value": "text/plain"
|
||||
},
|
||||
{
|
||||
"key": "Content-Disposition",
|
||||
"value": "inline; filename=\"install.sh\""
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"rewrites": [
|
||||
|
||||
@ -29,7 +29,7 @@ function git-fetch-all {
|
||||
date -R &>! "$gitdir/FETCH_LOG"
|
||||
GIT_SSH_COMMAND="command ssh -o BatchMode=yes" \
|
||||
GIT_TERMINAL_PROMPT=0 \
|
||||
command git fetch --all 2>/dev/null &>> "$gitdir/FETCH_LOG"
|
||||
command git fetch --all --recurse-submodules=yes 2>/dev/null &>> "$gitdir/FETCH_LOG"
|
||||
) &|
|
||||
}
|
||||
|
||||
|
||||
@ -30,6 +30,7 @@ plugins=(... npm)
|
||||
| `npmi` | `npm info` | Run npm info |
|
||||
| `npmSe` | `npm search` | Run npm search |
|
||||
| `npmrd` | `npm run dev` | Run npm run dev |
|
||||
| `npmrb` | `npm run build` | Run npm run build |
|
||||
|
||||
## `npm install` / `npm uninstall` toggle
|
||||
|
||||
|
||||
@ -73,6 +73,9 @@ alias npmSe="npm search"
|
||||
# Run npm run dev
|
||||
alias npmrd="npm run dev"
|
||||
|
||||
# Run npm run build
|
||||
alias npmrb="npm run build"
|
||||
|
||||
npm_toggle_install_uninstall() {
|
||||
# Look up to the previous 2 history commands
|
||||
local line
|
||||
|
||||
Loading…
Reference in New Issue
Block a user