From a6fa186b1760cdd316721c9e5cd056271eac6134 Mon Sep 17 00:00:00 2001 From: osmarks Date: Thu, 10 Sep 2026 20:50:43 +0100 Subject: [PATCH] dotfiles update --- dotfiles/config.fish | 14 ++++++++++++++ dotfiles/link_dots.py | 4 +++- dotfiles/zed.json | 11 ++++++++++- 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/dotfiles/config.fish b/dotfiles/config.fish index ef388da..8a331f0 100644 --- a/dotfiles/config.fish +++ b/dotfiles/config.fish @@ -19,6 +19,10 @@ function __project_jail_chpwd --on-variable PWD set -e NORECURSE return end + if set -q DISABLE_SANDBOX_ONCE + set -e DISABLE_SANDBOX_ONCE + return + end if set -q IN_PROJECT_JAIL return end @@ -33,9 +37,19 @@ function __project_jail_chpwd --on-variable PWD end end +function disable_sandbox + set -g DISABLE_SANDBOX_ONCE +end + # Also check once at shell startup. if not set -q IN_PROJECT_JAIL if test -x ~/.local/bin/project-jail ~/.local/bin/project-jail end end + +# why did they do this? why do they hate me so? +bind ctrl-left backward-word +bind ctrl-right forward-word +bind alt-left prevd-or-backward-token +bind alt-right nextd-or-forward-token diff --git a/dotfiles/link_dots.py b/dotfiles/link_dots.py index b2040e0..250efc0 100644 --- a/dotfiles/link_dots.py +++ b/dotfiles/link_dots.py @@ -62,7 +62,9 @@ packages = [ "pipewire-pulse", "swayidle", "rofi", - "htop" + "htop", + "python-requests", + "python-beautifulsoup4" ] subprocess.run(["sudo", "pacman", "-S", *packages, "--confirm"]) diff --git a/dotfiles/zed.json b/dotfiles/zed.json index 98c5382..63afc55 100644 --- a/dotfiles/zed.json +++ b/dotfiles/zed.json @@ -74,5 +74,14 @@ "pyright" ] } - } + }, + "edit_predictions": { + "provider": "open_ai_compatible_api", + "open_ai_compatible_api": { + "api_url": "http://localhost:9931/v1/completions", + "model": "zeta2.1", + "prompt_format": "zeta2_1", + "max_output_tokens": 96 + } + } }