updated bashrc

This commit is contained in:
Valerie Wolfe 2023-07-02 14:47:23 -04:00
parent 6cad44fdd0
commit 0658a6ae9e

26
bashrc
View file

@ -8,11 +8,17 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias exa='exa --tree'
alias flush='cd; clear; motd'
alias fortune='fortune-rs'
alias hx='helix'
alias imgcat="wezterm imgcat --height 50%"
alias imgcat='wezterm imgcat --height 50%'
alias ls='ls --color=auto'
alias lsd="lsd -l"
alias motd="rust-motd"
alias lsd='lsd -l'
alias motd='rust-motd'
alias onefetch='onefetch --no-title --no-art --no-color-palette'
alias rmux='remux'
alias sl='sl -e'
export EDITOR=helix
@ -24,8 +30,20 @@ eval "$(thefuck --alias)"
source /usr/lib/goto/goto.sh
source /usr/lib/codecat/codecat.sh
export PS1="$(starship prompt)"
if [[ $TERM == 'linux' ]]; then
if [[ $SHLVL -le 1 ]]; then
echo -e "\nWelcome back, $(whoami)!\n"
fi
return
fi
#export PS1="$(starship prompt)"
if [[ $SHLVL -le 3 ]]; then
motd
fi
if shopt -q login_shell; then
bash
exit
fi