mirror of
https://github.com/osmarks/random-stuff
synced 2026-10-13 21:01:42 +00:00
dotfiles update
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -62,7 +62,9 @@ packages = [
|
||||
"pipewire-pulse",
|
||||
"swayidle",
|
||||
"rofi",
|
||||
"htop"
|
||||
"htop",
|
||||
"python-requests",
|
||||
"python-beautifulsoup4"
|
||||
]
|
||||
|
||||
subprocess.run(["sudo", "pacman", "-S", *packages, "--confirm"])
|
||||
|
||||
+10
-1
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user