mirror of
https://github.com/timerring/bilive.git
synced 2026-05-08 06:16:47 +08:00
8 lines
381 B
Bash
Executable File
8 lines
381 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Query the project path
|
|
CURRENT_PATH=$(pwd)
|
|
# Export the project path to the .bashrc file for the current user using the bash shell
|
|
echo "export BILIVE_PATH=$CURRENT_PATH # This for timerring/bilive project path" >> ~/.bashrc
|
|
# Make the changes to the .bashrc file immediately effective
|
|
echo " Have set the project path $CURRENT_PATH to .bashrc for the current user." |