mirror of
https://github.com/Xevion/dotfiles.git
synced 2025-12-08 12:06:55 -06:00
feat: use micro as preferred ssh editor, add Atuin PATH amendment line
This commit is contained in:
@@ -95,6 +95,14 @@ fi
|
|||||||
|
|
||||||
. $HOME/.bash_aliases
|
. $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 */ -}}
|
{{- /* WSL-specific settings */ -}}
|
||||||
{{- if .data.wsl }}
|
{{- if .data.wsl }}
|
||||||
@@ -118,10 +126,17 @@ wt() {
|
|||||||
wt.exe -w 0 "$@" wsl --cd "$(pwd)"
|
wt.exe -w 0 "$@" wsl --cd "$(pwd)"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
{{- end }}
|
|
||||||
|
eval `keychain --quiet --eval --agents ssh ~/.ssh/id_rsa`
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
# dotnet
|
# dotnet
|
||||||
if [ -d "$HOME/.dotnet" ]; then
|
if [ -d "$HOME/.dotnet" ]; then
|
||||||
export DOTNET_ROOT="$HOME/.dotnet"
|
export DOTNET_ROOT="$HOME/.dotnet"
|
||||||
export PATH="$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools"
|
export PATH="$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# atuin
|
||||||
|
if [ -d "$HOME/.atuin" ]; then
|
||||||
|
. "$HOME/.atuin/bin/env"
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user