Ajout : bash_profile

This commit is contained in:
Hippolyte Chauvin 2023-09-01 10:43:49 +02:00
parent 1b005793ab
commit 29958605c2

18
home/bash_profile Normal file
View file

@ -0,0 +1,18 @@
# Source my profile
profile="${HOME}/.profile"
[[ -f $profile ]] && . "$profile"
unset profile
# Source my bashrc
bashrc="${HOME}/.bashrc"
[[ -f $bashrc ]] && . "$bashrc"
unset bashrc
# Fastfetch
fastfetch
# Start Sway if on tty1
if [ "$(tty)" = /dev/tty1 ]; then
exec sway
fi