Skip to content

Instantly share code, notes, and snippets.

View psjg's full-sized avatar

PSJ psjg

View GitHub Profile
@psjg
psjg / forge-agent-dynamic.zsh
Last active April 22, 2026 07:42
Patches out the cruft the forge agent setup installs in your .zshrc.
# ==== STUFF FOR THE FORGE AGENT ====
forges() {
echo "spawning subshell with forge agent..."
_FORGE_INIT=1 zsh
}
if [[ -n "$_FORGE_INIT" ]]; then
unset _FORGE_INIT
eval "$(forge zsh plugin)"
eval "$(forge zsh theme)"
@psjg
psjg / ghci.conf
Created September 4, 2019 19:26
My own personal ghci.conf
-- Set the prompt to a lambda.
-- :set prompt "λ "
-- Set the returning of type information on it.
:set +t
-- Collect evaluation time.
:set +s
-- Collect type information after loading modules.
-- Set the editor from which you can edit in ghci.
:set editor vim