feat: use micro as preferred ssh editor, add Atuin PATH amendment line

This commit is contained in:
2025-03-15 00:54:10 -05:00
parent 8a5c83bdf7
commit 05257607d3

View File

@@ -95,6 +95,14 @@ fi
. $HOME/.bash_aliases
# disable screen blanking
# source $(brew --prefix)/share/zsh/site-functions/_todoist_peco
# xset s off && xset -dpms
# Always use `micro` as the preferred editor when connected via SSH
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='micro'
fi
{{- /* WSL-specific settings */ -}}
{{- if .data.wsl }}
@@ -118,10 +126,17 @@ wt() {
wt.exe -w 0 "$@" wsl --cd "$(pwd)"
fi
}
{{- end }}
eval `keychain --quiet --eval --agents ssh ~/.ssh/id_rsa`
{{ end }}
# dotnet
if [ -d "$HOME/.dotnet" ]; then
export DOTNET_ROOT="$HOME/.dotnet"
export PATH="$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools"
fi
# atuin
if [ -d "$HOME/.atuin" ]; then
. "$HOME/.atuin/bin/env"
fi