Skip to content

Commit bccb9c3

Browse files
committed
fix: set GIT_EDITOR and reorder XDG env exports in bootstrap and path
Generated-by: aiautocommit
1 parent 3cd8a21 commit bccb9c3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.config/mbianco/bash-agent-bootstrap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ if ai_is_agent_terminal; then
2727
# without this, the git config which uses fancy pagers, etc will be used
2828
export GIT_CONFIG_NOSYSTEM=1
2929
export GIT_CONFIG_GLOBAL=$HOME/.gitconfig-agent
30+
export GIT_EDITOR=true
3031
export PAGER=cat
3132
export GIT_PAGER=$PAGER
3233
export MANPAGER=$PAGER

.config/mbianco/path

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ export PATH="$PATH:$GOPATH/bin"
3232
# https://specifications.freedesktop.org/basedir/latest/
3333
# not exactly a path mutation, but similar in spirit
3434
# without this many utilities will use ~/Library/Application Support, which I hate
35+
# do we need all of these? It's unclear, but rather safe than sorry.
3536
export XDG_CONFIG_HOME="$HOME/.config"
3637
export XDG_DATA_HOME="$HOME/.local/share"
37-
export XDG_CACHE_HOME="$HOME/.cache"
38-
export XDG_STATE_HOME="$HOME/.local/state"
38+
export XDG_STATE_HOME="$HOME/.local/state"
39+
export XDG_CACHE_HOME="$HOME/.cache"

0 commit comments

Comments
 (0)