From 29958605c20a52afef388c0ae33d059e639da4b2 Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Fri, 1 Sep 2023 10:43:49 +0200 Subject: [PATCH] Ajout : bash_profile --- home/bash_profile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 home/bash_profile diff --git a/home/bash_profile b/home/bash_profile new file mode 100644 index 0000000..008a398 --- /dev/null +++ b/home/bash_profile @@ -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 +