dotfiles/bashrc

50 lines
1 KiB
Bash
Raw Normal View History

2021-08-11 17:18:09 -04:00
# __ Valerie's __
# / /_ ____ ______/ /_ __________
# / __ \/ __ `/ ___/ __ \/ ___/ ___/
# _ / /_/ / /_/ (__ ) / / / / / /__
# (_)_.___/\__,_/____/_/ /_/_/ \___/
# ~/.bashrc
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
2023-07-02 14:47:23 -04:00
alias exa='exa --tree'
alias flush='cd; clear; motd'
alias fortune='fortune-rs'
2022-05-22 15:32:36 -04:00
alias hx='helix'
2023-07-02 14:47:23 -04:00
alias imgcat='wezterm imgcat --height 50%'
2021-08-11 17:18:09 -04:00
alias ls='ls --color=auto'
2023-07-02 14:47:23 -04:00
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'
2021-08-11 17:18:09 -04:00
2022-05-22 15:32:36 -04:00
export EDITOR=helix
2021-08-11 17:18:09 -04:00
2022-06-28 13:15:02 -04:00
export BAT_CONFIG_PATH="$HOME/.config/bat.conf"
2021-08-11 17:18:09 -04:00
eval "$(starship init bash)"
eval "$(thefuck --alias)"
source /usr/lib/goto/goto.sh
2022-05-22 15:32:36 -04:00
source /usr/lib/codecat/codecat.sh
2023-07-02 14:47:23 -04:00
if [[ $TERM == 'linux' ]]; then
if [[ $SHLVL -le 1 ]]; then
echo -e "\nWelcome back, $(whoami)!\n"
fi
return
fi
#export PS1="$(starship prompt)"
2022-05-22 15:32:36 -04:00
if [[ $SHLVL -le 3 ]]; then
motd
fi
2023-07-02 14:47:23 -04:00
if shopt -q login_shell; then
bash
exit
fi