This commit is contained in:
root
2026-07-21 11:17:29 +00:00
parent 69f99793b0
commit 7a240b42c3
3 changed files with 21 additions and 6 deletions

View File

@@ -4,11 +4,6 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
if [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z ${BASH_EXECUTION_STRING} && ${SHLVL} == 1 ]]
then
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=''
exec fish $LOGIN_OPTION
fi
alias ls='ls --color=auto'
alias grep='grep --color=auto'