mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-03 11:37:36 +00:00
feat(cable): add extensive television cable channel configurations and related files
This commit is contained in:
1 parent
7c786f9349
commit
e9a7fd1fde
72 files changed
+2101
No files matched your search
@@ -0,0 +1,20 @@
|
||||
[metadata]
|
||||
name = "python-venvs"
|
||||
description = "Find Python virtual environments"
|
||||
requirements = ["find"]
|
||||
|
||||
[source]
|
||||
command = "find ~ -maxdepth 5 -type f -name 'pyvenv.cfg' 2>/dev/null | xargs -I{} dirname {}"
|
||||
|
||||
[preview]
|
||||
command = "cat '{}/pyvenv.cfg' 2>/dev/null && echo '' && echo 'Packages:' && '{}/bin/pip' list --format=columns 2>/dev/null | head -20"
|
||||
|
||||
[actions.activate]
|
||||
description = "Open a shell with the selected venv activated"
|
||||
command = "source '{}/bin/activate' && $SHELL"
|
||||
mode = "execute"
|
||||
|
||||
[actions.packages]
|
||||
description = "List all packages in the selected venv"
|
||||
command = "'{}/bin/pip' list | less"
|
||||
mode = "execute"
|
||||
Reference in new issue
Block a user