Templates for ~/.bashrc.d

This commit is contained in:
Martin Blazik
2022-05-16 21:02:11 +02:00
parent 18c973dda5
commit f6d503c677
7 changed files with 27 additions and 0 deletions

2
rc.local/dotnet.sh Normal file
View File

@@ -0,0 +1,2 @@
export DOTNET_CLI_TELEMETRY_OPTOUT=1

7
rc.local/gitprompt.sh Normal file
View File

@@ -0,0 +1,7 @@
GIT_PROMPT_INIT="$HOME/.bash-git-prompt/gitprompt.sh"
if [ -e "$GIT_PROMPT_INIT" ]; then
GIT_PROMPT_ONLY_IN_REPO=1
source "$GIT_PROMPT_INIT"
fi

2
rc.local/golang.sh.bak Normal file
View File

@@ -0,0 +1,2 @@
prepend_path "$HOME/go/bin"
export GOROOT=$(go env GOROOT)

7
rc.local/linuxbrew.sh Normal file
View File

@@ -0,0 +1,7 @@
BREW_HOME=/home/linuxbrew
BREW="$BREW_HOME/.linuxbrew/bin/brew"
if [[ -e $BREW ]]; then
eval "$($BREW shellenv)"
fi

4
rc.local/oracle-oci.sh Normal file
View File

@@ -0,0 +1,4 @@
# Oracle OCI bash autocomplete
OCI_AUTOCOMPLETE="$HOME/lib/oracle-cli/lib/python3.10/site-packages/oci_cli/bin/oci_autocomplete.sh"
source_try "$OCI_AUTOCOMPLETE"

2
rc.local/sdkman.sh Normal file
View File

@@ -0,0 +1,2 @@
export SDKMAN_DIR="/home/lachtan/.sdkman"
source_try "$SDKMAN_DIR/bin/sdkman-init.sh"

3
rc.local/wsl.sh Normal file
View File

@@ -0,0 +1,3 @@
prepend_path "$HOME/.local/bin"
append_path "$HOME/.arkade/bin"
append_path "$HOME/.cargo/bin"