aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.bashrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 8d2c4d3..fd1111c 100644
--- a/.bashrc
+++ b/.bashrc
@@ -73,7 +73,11 @@ starter() {
setxkbmap hu -option caps:escape
read -p "Update AUR packages? [Y/n]: " aur_pkgs
if [[ -z "$aur_pkgs" ]] || [[ "$aur_pkgs" == "Y" ]] || [[ "$aur_pkgs" == "y" ]]; then
- tmux new-session 'aur ; bash'
+ if [[ -z "$TMUX" ]]; then
+ tmux new-session 'aur ; bash'
+ else
+ aur
+ fi
fi
}