mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-19 02:02:32 +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
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