54 lines
1.7 KiB
Plaintext
54 lines
1.7 KiB
Plaintext
# .bashrc_local - Machine-specific environment variables
|
|
# Copy this file to .bashrc_local and fill in your actual values
|
|
|
|
# Token for IP services (if needed)
|
|
#export IPTOKEN=
|
|
|
|
# PostgreSQL connection string
|
|
export PG="psql -U username -d database -p 5432 -h hostname"
|
|
|
|
# SQL Server connection strings
|
|
export MS="sqlcmd -U username -C -S servername"
|
|
export MSC="sqlcmd -U username -S servername -C -s \| -W"
|
|
|
|
# Java and Gradle paths
|
|
export JAVA_HOME=/opt/jdk-20.0.1
|
|
export PATH=$PATH:$JAVA_HOME/bin
|
|
export PATH=$PATH:/opt/gradle/gradle-8.1/bin
|
|
export PATH=$PATH:/opt/mssql-tools18/bin
|
|
|
|
# Runner configuration path
|
|
export RUNNER_PATH=/opt/jrunner_conf/
|
|
|
|
# Database passwords (fill in your actual passwords)
|
|
export DB2PW=your_db2_password_here
|
|
export PGPW=your_postgres_password_here
|
|
export SQLCMDPASSWORD='your_sqlcmd_password_here'
|
|
|
|
# Windows SQL Server connection (if needed)
|
|
# export MSW="sqlcmd.exe -S servername -C "
|
|
|
|
# Alternative Java/Gradle versions (commented out)
|
|
#export JAVA_HOME=/opt/jdk-19.0.1
|
|
#export PATH=$PATH:$JAVA_HOME/bin
|
|
#export PATH=$PATH:/opt/gradle/gradle-7.6/bin
|
|
#export RUNNER_PATH=/opt/runner/
|
|
|
|
# Deno installation
|
|
export DENO_INSTALL="$HOME/.deno"
|
|
export PATH="$DENO_INSTALL/bin:$PATH"
|
|
|
|
# NVM (Node Version Manager)
|
|
export NVM_DIR="$HOME/.nvm"
|
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
|
|
|
# Rust / Cargo
|
|
[ -f "$HOME/.cargo/env" ] && . "$HOME/.cargo/env"
|
|
|
|
# opencode
|
|
export PATH="$HOME/.opencode/bin:$PATH"
|
|
|
|
# SQL Server quick-run alias (customize server/credentials)
|
|
# alias mns='fzf | xargs -I {} sqlcmd -U username -S servername -C -i {} | pspg'
|