Bash stuff
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
if [ -z "$PS1" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
unset HISTFILE
|
||||
|
||||
export PS1="\u@\h \W \$ "
|
||||
|
||||
if [ -f ~/.config/dg-bash/aliases.sh ]; then
|
||||
source ~/.config/dg-bash/aliases.sh
|
||||
fi
|
||||
|
||||
if [ -f ~/.config/dg-bash/functions.sh ]; then
|
||||
source ~/.config/dg-bash/functions.sh
|
||||
fi
|
||||
|
||||
if [ -x "$(command -v fastfetch)" ]; then
|
||||
if [ -f ~/.config/fastfetch/minimal.jsonc ]; then
|
||||
fastfetch -c ~/.config/fastfetch/minimal.jsonc
|
||||
else
|
||||
fastfetch
|
||||
fi
|
||||
fi
|
||||
|
||||
echo -e "\nShall we play a game?"
|
||||
Reference in New Issue
Block a user