Added bashrc
This commit is contained in:
parent
4ab9541748
commit
12539116e1
1 changed files with 30 additions and 0 deletions
30
.bashrc
Normal file
30
.bashrc
Normal 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)"
|
Loading…
Reference in a new issue