Add .config files

This commit is contained in:
ZennDev1337 2024-07-25 08:28:53 +02:00
parent 5753b14e3f
commit 8efbfd0164
4 changed files with 97 additions and 0 deletions

35
.config/zed/tasks.json Normal file
View file

@ -0,0 +1,35 @@
// Static tasks configuration.
//
// Example:
[
{
"label": "Run python selection",
"command": "python3",
"args": ["-c", "\"$ZED_SELECTED_TEXT\""],
"use_new_terminal": false
},
{
"label": "Run python file",
"command": "python3",
"args": ["$ZED_FILE"],
"use_new_terminal": false
},
{
"label": "Create new venv",
"command": "python3",
"args": ["-m", "venv", "$ZED_WORKTREE_ROOT/.venv"],
"use_new_terminal": false
},
{
"label": "Delete venv",
"command": "rm",
"args": ["-rf", "$ZED_WORKTREE_ROOT/.venv"],
"use_new_terminal": false
},
{
"label": "Setup Python Project (pyrightconfig.json)",
"command": "bash",
"args": ["~/.config/zed/initPython.sh"],
"use_new_terminal": false
}
]