mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Add kube-ps1 as dependency
This commit is contained in:
parent
2525dae661
commit
1a112c19e7
2 changed files with 16 additions and 2 deletions
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
|
|
@ -587,9 +587,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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue