mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-11-21 07:53:03 +01:00
Compare commits
4
Commits
cca3bdfbef
...
6010fb6260
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6010fb6260 | ||
|
|
044bcbf82d | ||
|
|
2d03d8ac01 | ||
|
|
f5d571c66d |
No files matched your search
@@ -60,6 +60,6 @@ jobs:
|
||||
retention-days: 5
|
||||
|
||||
- name: "Upload to code-scanning"
|
||||
uses: github/codeql-action/upload-sarif@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
|
||||
uses: github/codeql-action/upload-sarif@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
|
||||
with:
|
||||
sarif_file: results.sarif
|
||||
@@ -347,6 +347,13 @@ function listMavenCompletions {
|
||||
)
|
||||
}
|
||||
|
||||
compctl -K listMavenCompletions mvn mvnw
|
||||
compctl -K listMavenCompletions mvn-color
|
||||
compctl -K listMavenCompletions mvn-or-mvnw
|
||||
# Completion, via compsys so that tools built on it (fzf-tab, etc.) can take over.
|
||||
_mvn() {
|
||||
local -a commands
|
||||
listMavenCompletions
|
||||
# _describe splits entries on `:`, so escape it to keep goals like `dependency:tree`.
|
||||
commands=("${(@)reply//:/\\:}")
|
||||
_describe -t mvn-commands 'mvn command' commands
|
||||
}
|
||||
|
||||
compdef _mvn mvn mvnw mvn-color mvn-or-mvnw
|
||||
@@ -16,7 +16,7 @@ plugins=(... npm)
|
||||
| `npmS` | `npm i -S` | Install and save to dependencies in your package.json |
|
||||
| `npmD` | `npm i -D` | Install and save to dev-dependencies in your package.json |
|
||||
| `npmF` | `npm i -f` | Force install from remote registries ignoring local cache |
|
||||
| `npmE` | `PATH="$(npm bin)":"$PATH"` | Run command from node_modules folder based on current directory |
|
||||
| `npmE` | `PATH="$(npm root)/.bin":"$PATH"` | Run command from node_modules folder based on current directory |
|
||||
| `npmO` | `npm outdated` | Check which npm modules are outdated |
|
||||
| `npmU` | `npm update` | Update all the packages listed to the latest version |
|
||||
| `npmV` | `npm -v` | Check package versions |
|
||||
|
||||
@@ -32,7 +32,7 @@ alias npmF='npm i -f'
|
||||
|
||||
# Execute command from node_modules folder based on current directory
|
||||
# i.e npmE gulp
|
||||
alias npmE='PATH="$(npm bin)":"$PATH"'
|
||||
alias npmE='PATH="$(npm root)/.bin":"$PATH"'
|
||||
|
||||
# Check which npm modules are outdated
|
||||
alias npmO="npm outdated"
|
||||
|
||||
@@ -528,6 +528,7 @@ print_success() {
|
||||
"$(fmt_code "$(fmt_link ".zshrc" "file://$zdot/.zshrc" --text)")" \
|
||||
"file to select plugins, themes, and options."
|
||||
printf '\n'
|
||||
printf '%s\n' "${FMT_YELLOW}★${FMT_RESET} Enjoying Oh My Zsh? Star us on $(fmt_link GitHub https://github.com/ohmyzsh/ohmyzsh)"
|
||||
printf '%s\n' "• Follow along on X ($(fmt_link @ohmyzsh https://x.com/ohmyzsh)) or Bluesky ($(fmt_link @ohmyz.sh https://bsky.app/profile/ohmyz.sh))"
|
||||
printf '%s\n' "• Questions or ideas? Join the community on $(fmt_link Discord https://discord.gg/ohmyzsh)"
|
||||
printf '%s\n' "• Help support the project: sponsor us on $(fmt_link "Open Collective" https://opencollective.com/ohmyzsh),"
|
||||
|
||||
@@ -311,6 +311,9 @@ if perform_update; then
|
||||
printf '%s %s %s %s /____/ %s %s %s %s\n' $RAINBOW $RESET
|
||||
printf '\n'
|
||||
printf "${BLUE}%s${RESET}\n\n" "$message"
|
||||
printf "${YELLOW}${BOLD}★${RESET} ${BLUE}${BOLD}%s %s${RESET}\n" \
|
||||
"Enjoying Oh My Zsh? Star us on" \
|
||||
"$(fmt_link GitHub https://github.com/ohmyzsh/ohmyzsh)"
|
||||
printf "${BLUE}${BOLD}%s %s %s %s${RESET}\n" \
|
||||
"Follow along on X" "($(fmt_link @ohmyzsh https://x.com/ohmyzsh))" \
|
||||
"or Bluesky" "($(fmt_link @ohmyz.sh https://bsky.app/profile/ohmyz.sh))"
|
||||
|
||||
Reference in new issue
Block a user