# This file is sourced by bash for login shells. The following line
# runs your .bashrc and is recommended by the bash info pages.
-if [[ -f ~/.bashrc ]] ; then
- . ~/.bashrc
+if [[ ! "$(grep -i suse /etc/os-release)" ]]; then
+ if [[ -f ~/.bashrc ]] ; then
+ . ~/.bashrc
+ fi
fi
# autorun display-manager
alias gst='git status'
alias nano='nano -_qpT4 '
alias free='free -h --si'
-alias lsblk='lsblk -o name,size,partuuid,fstype,mountpoints,label'
-alias wtemp='sensors | grep WaterPostRad | cut -f2 -d'+''
-
+alias lsblk='lsblk -o name,partuuid,type,size,fstype,label,mountpoints'
alias lf='lfrun'
+# compatibility with OpenSuSE
+if [[ "$(grep -i suse /etc/os-release)" ]]; then
+ . ~/.bash_profile
+fi
+test -s ~/.alias && . ~/.alias || true
+
case $(tty) in
/dev/tty[0-9]*)
alias l1='EZA_GRID_ROWS=13 eza -w 220 --group --group-directories-first -1'
command -v starship > /dev/null 2>&1 && eval "$(starship init bash)"
# apply base16 theme
-~/.local/bin/base16-flavours
+test -f ~/.local/bin/base16-flavours && ~/.local/bin/base16-flavours
clear
-command fastfetch -c "$HOME/.config/fastfetch/config.jsonc"
+test -f /usr/bin/fastfetch && command fastfetch -c "$HOME/.config/fastfetch/config.jsonc"
+