From e5e82abfa8b0376106589266b7635200395e6966 Mon Sep 17 00:00:00 2001 From: GaspardCulis Date: Sat, 1 Jun 2024 03:15:02 +0200 Subject: [PATCH] bash -> (bashrc + profile): Fixed tmux exec overriding Hyprland --- shell/bash/.bash_profile | 8 +++----- shell/bash/.bashrc | 2 -- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/shell/bash/.bash_profile b/shell/bash/.bash_profile index 0e235c5..bd25786 100644 --- a/shell/bash/.bash_profile +++ b/shell/bash/.bash_profile @@ -1,10 +1,8 @@ -# -# ~/.bash_profile -# - -[[ -f ~/.bashrc ]] && . ~/.bashrc +export PATH="$HOME/.local/bin:$PATH" # Start DE if on tty1 if [ "$(tty)" = /dev/tty1 ]; then exec Hyprland fi + +[[ -f ~/.bashrc ]] && . ~/.bashrc diff --git a/shell/bash/.bashrc b/shell/bash/.bashrc index 635f052..88e4c5b 100755 --- a/shell/bash/.bashrc +++ b/shell/bash/.bashrc @@ -21,8 +21,6 @@ fi bind '"\e[A":history-search-backward' bind '"\e[B":history-search-forward' -export PATH="$HOME/.local/bin:$PATH" - export EDITOR="hx" export HISTFILESIZE=