48 lines
1.6 KiB
Bash
48 lines
1.6 KiB
Bash
# /etc/skel/.bashrc
|
|
#
|
|
# This file is sourced by all *interactive* bash shells on startup,
|
|
# including some apparently interactive shells such as scp and rcp
|
|
# that can't tolerate any output. So make sure this doesn't display
|
|
# anything or bad things will happen !
|
|
|
|
|
|
# Test for an interactive shell. There is no need to set anything
|
|
# past this point for scp and rcp, and it's important to refrain from
|
|
# outputting anything in those cases.
|
|
if [[ $- != *i* ]] ; then
|
|
# Shell is non-interactive. Be done now!
|
|
return
|
|
fi
|
|
|
|
source /etc/profile
|
|
|
|
# Put your fun stuff here.
|
|
|
|
# Import some custom scripts
|
|
for f in $(ls $HOME/.config/shellconfig); do
|
|
source $HOME/.config/shellconfig/$f
|
|
done
|
|
|
|
# Draw system info
|
|
#neofetch
|
|
fastfetch
|
|
fortune -cs | cowsay -f tux
|
|
# fortune -cs | cowsay -f tux | lolcat
|
|
|
|
# Declare custom PATH variable
|
|
# export PS1="\[\e]133;k;start_kitty\a\]\[\e]133;D;$?\a\e]133;A\a\]\[\e]133;k;end_kitty\a\]\[\e[01;32m\]\u@\h\[\e[01;34m\]\n\w \$\[\e[00m\] \[\e]133;k;start_suffix_kitty\a\]\[\e[5 q\]\[\e]2;\w\a\]\[\e]133;k;end_suffix_kitty\a\]"
|
|
export PS1="\[\e]133;k;start_kitty\a\]\[\e]133;D;$?\a\e]133;A\a\]\[\e]133;k;end_kitty\a\]\[\e[01;32m\]$GREEN\u@$BLUE\h\[\e[01;34m\]\n$CYAN\w$ENDC \$\[\e[00m\] \[\e]133;k;start_suffix_kitty\a\]\[\e[5 q\]\[\e]2;\w\a\]\[\e]133;k;end_suffix_kitty\a\]"
|
|
export GPG_TTY=$(tty)
|
|
|
|
# Setup custom Editors
|
|
VISUAL=/usr/bin/geany
|
|
EDITOR=/usr/bin/nvim
|
|
BROWSER=/usr/bin/librefox
|
|
|
|
# Setup Starship
|
|
# eval "$(starship init bash)"
|
|
|
|
# Added by LM Studio CLI (lms)
|
|
export PATH="$PATH:/home/ganome/.lmstudio/bin:$HOME/.local/bin:$HOME/.local/bin/statusbar:/opt/steamcmd"
|
|
. "$HOME/.cargo/env"
|