mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-24 01:37:27 +08:00
Compare commits
3 Commits
7dc56f5c8d
...
415c8493a1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
415c8493a1 | ||
|
|
a79b37b954 | ||
|
|
1a112c19e7 |
8
.github/dependencies.yml
vendored
8
.github/dependencies.yml
vendored
@ -16,6 +16,14 @@ dependencies:
|
|||||||
precopy: |
|
precopy: |
|
||||||
set -e
|
set -e
|
||||||
find . ! -name _gradle ! -name LICENSE -delete
|
find . ! -name _gradle ! -name LICENSE -delete
|
||||||
|
plugins/kube-ps1:
|
||||||
|
repo: jonmosco/kube-ps1
|
||||||
|
branch: master
|
||||||
|
version: 54271c7e0c890779eab058c8a9661d88e410de72
|
||||||
|
precopy: |
|
||||||
|
set -e
|
||||||
|
rm -f kube-ps1.plugin.zsh
|
||||||
|
test -e kube-ps1.sh && mv kube-ps1.sh kube-ps1.plugin.zsh
|
||||||
plugins/history-substring-search:
|
plugins/history-substring-search:
|
||||||
repo: zsh-users/zsh-history-substring-search
|
repo: zsh-users/zsh-history-substring-search
|
||||||
branch: master
|
branch: master
|
||||||
|
|||||||
8
.github/workflows/dependencies/updater.py
vendored
8
.github/workflows/dependencies/updater.py
vendored
@ -597,7 +597,13 @@ def main():
|
|||||||
DependencyStore.set(data)
|
DependencyStore.set(data)
|
||||||
|
|
||||||
dependencies = data["dependencies"]
|
dependencies = data["dependencies"]
|
||||||
for path in dependencies:
|
if len(sys.argv) > 1:
|
||||||
|
# argv is list of dependencies to run, default is all of them
|
||||||
|
dependency_list = sys.argv[1:]
|
||||||
|
else:
|
||||||
|
dependency_list = dependencies.keys()
|
||||||
|
|
||||||
|
for path in dependency_list:
|
||||||
dependency = Dependency(path, dependencies[path])
|
dependency = Dependency(path, dependencies[path])
|
||||||
dependency.update_or_notify()
|
dependency.update_or_notify()
|
||||||
|
|
||||||
|
|||||||
@ -90,7 +90,7 @@ plugins=(... kubectl)
|
|||||||
| kga | `kubectl get all` | List all resources in ps format |
|
| kga | `kubectl get all` | List all resources in ps format |
|
||||||
| kgaa | `kubectl get all --all-namespaces` | List the requested object(s) across all namespaces |
|
| kgaa | `kubectl get all --all-namespaces` | List the requested object(s) across all namespaces |
|
||||||
| | | **Logs** |
|
| | | **Logs** |
|
||||||
| klog | `kubectl logs` | Print the logs for a container or resource |
|
| kl | `kubectl logs` | Print the logs for a container or resource |
|
||||||
| klf | `kubectl logs -f` | Stream the logs for a container or resource (follow) |
|
| klf | `kubectl logs -f` | Stream the logs for a container or resource (follow) |
|
||||||
| | | **File copy** |
|
| | | **File copy** |
|
||||||
| kcp | `kubectl cp` | Copy files and directories to and from containers |
|
| kcp | `kubectl cp` | Copy files and directories to and from containers |
|
||||||
|
|||||||
@ -135,7 +135,7 @@ alias kga='kubectl get all'
|
|||||||
alias kgaa='kubectl get all --all-namespaces'
|
alias kgaa='kubectl get all --all-namespaces'
|
||||||
|
|
||||||
# Logs
|
# Logs
|
||||||
alias klog='kubectl logs'
|
alias kl='kubectl logs'
|
||||||
alias kl1h='kubectl logs --since 1h'
|
alias kl1h='kubectl logs --since 1h'
|
||||||
alias kl1m='kubectl logs --since 1m'
|
alias kl1m='kubectl logs --since 1m'
|
||||||
alias kl1s='kubectl logs --since 1s'
|
alias kl1s='kubectl logs --since 1s'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user