From e00855e2965f1919a16aed9e986ae0a951f1178c Mon Sep 17 00:00:00 2001 From: pvincent Date: Sat, 15 Aug 2026 12:35:34 +0400 Subject: [PATCH] before environment --- etc/bash.bashrc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/etc/bash.bashrc b/etc/bash.bashrc index 517ca4d..29e8490 100644 --- a/etc/bash.bashrc +++ b/etc/bash.bashrc @@ -162,10 +162,7 @@ export MIAOU_BASH_DIR for i in {/opt,$HOME}/miaou-*/tools; do [[ -d "$i" ]] && PATH=$PATH:$i; done || true # If not running interactively, don't do anything -case $- in -*i*) ;; -*) return ;; -esac +[[ $- != *i* ]] && return HOSTNAME=$(hostname -f)