update to zed settings

This commit is contained in:
ZennDev1337 2024-08-05 05:55:07 +02:00
parent 23b43d848c
commit ff6d0206e3
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
# Überprüfen, ob pyrightconfig.json existiert, wenn nicht, erstelle es mit dem angegebenen Inhalt # Überprüfen, ob pyrightconfig.json existiert, wenn nicht, erstelle es mit dem angegebenen Inhalt
if [ ! -f "pyrightconfig.json" ]; then if [ ! -f "pyproject.toml" ]; then
echo '{"venvPath": ".", "venv": ".venv"}' > pyrightconfig.json echo -e '[tool.pyright]\nvenv = ".venv"\nvenvPath = "."' >> pyproject.toml
fi fi
# Überprüfen, ob das Verzeichnis .venv existiert, wenn nicht, erstelle ein virtuelles Python-Umfeld # Überprüfen, ob das Verzeichnis .venv existiert, wenn nicht, erstelle ein virtuelles Python-Umfeld

View file

@ -27,7 +27,7 @@
"use_new_terminal": false "use_new_terminal": false
}, },
{ {
"label": "Setup Python Project (pyrightconfig.json)", "label": "Setup Python Project (pyproject.toml)",
"command": "bash", "command": "bash",
"args": ["~/.config/zed/initPython.sh"], "args": ["~/.config/zed/initPython.sh"],
"use_new_terminal": false "use_new_terminal": false