Some maintenance work around bashrc files

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
This commit is contained in:
Andrei Jiroh Halili 2023-09-03 14:32:15 +00:00
parent e34c3dd5ed
commit 094b8a0009
No known key found for this signature in database
GPG key ID: 67BFC91B3DA12BE8
10 changed files with 44 additions and 35 deletions

View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
export HOMEBREW_HOME=${HOMEBREW_HOME:-"/home/linuxbrew/.linuxbrew"}
test -d "$HOMEBREW_HOME" && eval "$($HOMEBREW_HOME/bin/brew shellenv)"
[[ -r "$HOMEBREW_HOME/etc/profile.d/bash_completion.sh" ]] && . "$HOMEBREW_HOME/etc/profile.d/bash_completion.sh"