mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-14 22:47:45 +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: |
|
||||
set -e
|
||||
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:
|
||||
repo: zsh-users/zsh-history-substring-search
|
||||
branch: master
|
||||
|
||||
10
.github/workflows/dependencies/updater.py
vendored
10
.github/workflows/dependencies/updater.py
vendored
@ -595,9 +595,15 @@ def main():
|
||||
|
||||
# Cache YAML version
|
||||
DependencyStore.set(data)
|
||||
|
||||
|
||||
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.update_or_notify()
|
||||
|
||||
|
||||
@ -90,7 +90,7 @@ plugins=(... kubectl)
|
||||
| kga | `kubectl get all` | List all resources in ps format |
|
||||
| kgaa | `kubectl get all --all-namespaces` | List the requested object(s) across all namespaces |
|
||||
| | | **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) |
|
||||
| | | **File copy** |
|
||||
| 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'
|
||||
|
||||
# Logs
|
||||
alias klog='kubectl logs'
|
||||
alias kl='kubectl logs'
|
||||
alias kl1h='kubectl logs --since 1h'
|
||||
alias kl1m='kubectl logs --since 1m'
|
||||
alias kl1s='kubectl logs --since 1s'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user