mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-12 05:49:47 +08:00
Compare commits
4 Commits
b3b336b0f9
...
80fdbc9b91
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
80fdbc9b91 | ||
|
|
15014db8d5 | ||
|
|
9f2bbebdf7 | ||
|
|
1342459b15 |
8
.github/workflows/project.yml
vendored
8
.github/workflows/project.yml
vendored
@ -113,7 +113,9 @@ jobs:
|
|||||||
projectId: $project
|
projectId: $project
|
||||||
itemId: $item
|
itemId: $item
|
||||||
fieldId: $plugin_field
|
fieldId: $plugin_field
|
||||||
value: $plugin_value
|
value: {
|
||||||
|
text: $plugin_value
|
||||||
|
}
|
||||||
}) {
|
}) {
|
||||||
projectV2Item {
|
projectV2Item {
|
||||||
id
|
id
|
||||||
@ -123,7 +125,9 @@ jobs:
|
|||||||
projectId: $project
|
projectId: $project
|
||||||
itemId: $item
|
itemId: $item
|
||||||
fieldId: $theme_field
|
fieldId: $theme_field
|
||||||
value: $theme_value
|
value: {
|
||||||
|
text: $theme_value
|
||||||
|
}
|
||||||
}) {
|
}) {
|
||||||
projectV2Item {
|
projectV2Item {
|
||||||
id
|
id
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
#compdef coffee
|
#compdef coffee
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Copyright (c) 2011 Github zsh-users - https://github.com/zsh-users
|
# Copyright (c) 2011 GitHub zsh-users - https://github.com/zsh-users
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@ -335,9 +335,9 @@ _docker-machine() {
|
|||||||
'--tls-ca-key[Private key to generate certificates]:file:_files' \
|
'--tls-ca-key[Private key to generate certificates]:file:_files' \
|
||||||
'--tls-client-cert[Client cert to use for TLS]:file:_files' \
|
'--tls-client-cert[Client cert to use for TLS]:file:_files' \
|
||||||
'--tls-client-key[Private key used in client TLS auth]:file:_files' \
|
'--tls-client-key[Private key used in client TLS auth]:file:_files' \
|
||||||
'--github-api-token[Token to use for requests to the Github API]' \
|
'--github-api-token[Token to use for requests to the GitHub API]' \
|
||||||
'--native-ssh[Use the native (Go-based) SSH implementation.]' \
|
'--native-ssh[Use the native (Go-based) SSH implementation.]' \
|
||||||
'--bugsnag-api-token[BugSnag API token for crash reporting]' \
|
'--bugsnag-api-token[Bugsnag API token for crash reporting]' \
|
||||||
'(- :)'{-v,--version}'[Print the version]' \
|
'(- :)'{-v,--version}'[Print the version]' \
|
||||||
"(-): :->command" \
|
"(-): :->command" \
|
||||||
"(-)*:: :->option-or-argument" && ret=0
|
"(-)*:: :->option-or-argument" && ret=0
|
||||||
|
|||||||
@ -37,7 +37,7 @@ function _frontend() {
|
|||||||
'lodash: Search in Lo-Dash website'
|
'lodash: Search in Lo-Dash website'
|
||||||
'mdn: Search in MDN website'
|
'mdn: Search in MDN website'
|
||||||
'nodejs: Search in NodeJS website'
|
'nodejs: Search in NodeJS website'
|
||||||
'npmjs: Search in NPMJS website'
|
'npmjs: Search in npmjs website'
|
||||||
'packagephobia: Search in Packagephobia website'
|
'packagephobia: Search in Packagephobia website'
|
||||||
'qunit: Search in Qunit website'
|
'qunit: Search in Qunit website'
|
||||||
'reactjs: Search in React website'
|
'reactjs: Search in React website'
|
||||||
|
|||||||
@ -302,7 +302,7 @@ alias gtv='git tag | sort -V'
|
|||||||
alias gtl='gtl(){ git tag --sort=-v:refname -n -l "${1}*" }; noglob gtl'
|
alias gtl='gtl(){ git tag --sort=-v:refname -n -l "${1}*" }; noglob gtl'
|
||||||
|
|
||||||
alias gunignore='git update-index --no-assume-unchanged'
|
alias gunignore='git update-index --no-assume-unchanged'
|
||||||
alias gunwip='git log -n 1 | grep -q -c "\-\-wip\-\-" && git reset HEAD~1'
|
alias gunwip='git log -n 1 | grep -q -c "--wip--" && git reset HEAD~1'
|
||||||
alias gup='git pull --rebase'
|
alias gup='git pull --rebase'
|
||||||
alias gupv='git pull --rebase -v'
|
alias gupv='git pull --rebase -v'
|
||||||
alias gupa='git pull --rebase --autostash'
|
alias gupa='git pull --rebase --autostash'
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
#compdef http
|
#compdef http
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Copyright (c) 2015 Github zsh-users - http://github.com/zsh-users
|
# Copyright (c) 2015 GitHub zsh-users - http://github.com/zsh-users
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
#compdef kitchen
|
#compdef kitchen
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Copyright (c) 2014 Github zsh-users - https://github.com/zsh-users
|
# Copyright (c) 2014 GitHub zsh-users - https://github.com/zsh-users
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# FILE: _pod
|
# FILE: _pod
|
||||||
# DESCRIPTION: Cocoapods (0.33.1) autocomplete plugin for Oh-My-Zsh
|
# DESCRIPTION: CocoaPods (0.33.1) autocomplete plugin for Oh-My-Zsh
|
||||||
# https://cocoapods.org
|
# https://cocoapods.org
|
||||||
# Generated with `pod --completion-script
|
# Generated with `pod --completion-script
|
||||||
# AUTHOR: Alexandre Joly (alexandre.joly@mekanics.ch)
|
# AUTHOR: Alexandre Joly (alexandre.joly@mekanics.ch)
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
#compdef rails
|
#compdef rails
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Copyright (c) 2016 Github zsh-users - http://github.com/zsh-users
|
# Copyright (c) 2016 GitHub zsh-users - http://github.com/zsh-users
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@ -591,7 +591,7 @@ _rg "$@"
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Copyright (c) 2011 Github zsh-users - http://github.com/zsh-users
|
# Copyright (c) 2011 GitHub zsh-users - http://github.com/zsh-users
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
#compdef scala scalac
|
#compdef scala scalac
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Copyright (c) 2012 Github zsh-users - https://github.com/zsh-users
|
# Copyright (c) 2012 GitHub zsh-users - https://github.com/zsh-users
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@ -43,6 +43,7 @@ Available search contexts are:
|
|||||||
| `wolframalpha` | `https://wolframalpha.com/input?i=` |
|
| `wolframalpha` | `https://wolframalpha.com/input?i=` |
|
||||||
| `archive` | `https://web.archive.org/web/*/` |
|
| `archive` | `https://web.archive.org/web/*/` |
|
||||||
| `scholar` | `https://scholar.google.com/scholar?q=` |
|
| `scholar` | `https://scholar.google.com/scholar?q=` |
|
||||||
|
| `ask` | `https://www.ask.com/web?q=` |
|
||||||
|
|
||||||
Also there are aliases for bang-searching DuckDuckGo:
|
Also there are aliases for bang-searching DuckDuckGo:
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,7 @@ function web_search() {
|
|||||||
wolframalpha "https://www.wolframalpha.com/input/?i="
|
wolframalpha "https://www.wolframalpha.com/input/?i="
|
||||||
archive "https://web.archive.org/web/*/"
|
archive "https://web.archive.org/web/*/"
|
||||||
scholar "https://scholar.google.com/scholar?q="
|
scholar "https://scholar.google.com/scholar?q="
|
||||||
|
ask "https://www.ask.com/web?q="
|
||||||
)
|
)
|
||||||
|
|
||||||
# check whether the search engine is supported
|
# check whether the search engine is supported
|
||||||
@ -64,6 +65,7 @@ alias stackoverflow='web_search stackoverflow'
|
|||||||
alias wolframalpha='web_search wolframalpha'
|
alias wolframalpha='web_search wolframalpha'
|
||||||
alias archive='web_search archive'
|
alias archive='web_search archive'
|
||||||
alias scholar='web_search scholar'
|
alias scholar='web_search scholar'
|
||||||
|
alias ask='web_search ask'
|
||||||
|
|
||||||
#add your own !bang searches here
|
#add your own !bang searches here
|
||||||
alias wiki='web_search duckduckgo \!w'
|
alias wiki='web_search duckduckgo \!w'
|
||||||
|
|||||||
@ -31,7 +31,7 @@ function xx {
|
|||||||
open -a "Xcode.app" "$@"
|
open -a "Xcode.app" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
# "XCode-SELect by Version" - select Xcode by just version number
|
# "Xcode-Select by Version" - select Xcode by just version number
|
||||||
# Uses naming convention:
|
# Uses naming convention:
|
||||||
# - different versions of Xcode are named Xcode-<version>.app or stored
|
# - different versions of Xcode are named Xcode-<version>.app or stored
|
||||||
# in a folder named Xcode-<version>
|
# in a folder named Xcode-<version>
|
||||||
|
|||||||
@ -11,11 +11,11 @@
|
|||||||
# more about both of these fantastic two people here:
|
# more about both of these fantastic two people here:
|
||||||
#
|
#
|
||||||
# Sindre Sorhus
|
# Sindre Sorhus
|
||||||
# Github: https://github.com/sindresorhus
|
# GitHub: https://github.com/sindresorhus
|
||||||
# Twitter: https://twitter.com/sindresorhus
|
# Twitter: https://twitter.com/sindresorhus
|
||||||
#
|
#
|
||||||
# Julien Nicoulaud
|
# Julien Nicoulaud
|
||||||
# Github: https://github.com/nicoulaj
|
# GitHub: https://github.com/nicoulaj
|
||||||
# Twitter: https://twitter.com/nicoulaj
|
# Twitter: https://twitter.com/nicoulaj
|
||||||
#
|
#
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user