Added bashrc

This commit is contained in:
Eric Renfro 2024-03-12 22:14:38 -04:00
parent 4ab9541748
commit 12539116e1
Signed by: psi-jack
SSH Key Fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM
1 changed files with 30 additions and 0 deletions

30
.bashrc Normal file
View File

@ -0,0 +1,30 @@
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
#alias ls='ls --color=auto'
alias ls='lsd'
alias grep='grep --color=auto'
PS1='[\u@\h \W]\$ '
if [[ "$XDG_CURRENT_DESKTOP" = "KDE" ]]; then
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR:-/run/user/$UID}/ssh-agent.socket"
export SSH_ASKPASS="/usr/bin/ksshaskpass"
else
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR:-/run/user/$UID}/gcr/ssh"
fi
eval "$(starship init bash)"
if [[ ! -r "$HOME/.local/share/blesh/ble.sh" ]]; then
git clone --recursive --depth 1 --shallow-submodules https://github.com/akinomyoga/ble.sh.github
make -C ble.sh install PREFIX="$HOME/.local"
rm -rf ble.sh
fi
source ~/.local/share/blesh/ble.sh
eval "$(atuin init bash)"