Fix Bash configuration

This commit is contained in:
Fabio Scotto di Santolo
2026-01-03 14:01:55 +01:00
parent f136aaa030
commit 5ab4606691
5 changed files with 21 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
if command -v brew > /dev/null 2>&1; then
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
if command -v /home/linuxbrew/.linuxbrew/bin/brew >/dev/null 2>&1; then
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
fi

0
bash/.bashrc.d/starship.sh Normal file → Executable file
View File

5
bash/.bashrc.d/zoxide.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
if command -v /home/linuxbrew/.linuxbrew/bin/zoxide >/dev/null 2>&1; then
eval "$(/home/linuxbrew/.linuxbrew/bin/zoxide init bash)"
fi