16 lines
318 B
Bash
Executable File
16 lines
318 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
run_directory=$(dirname "$0")
|
|
user=$(whoami)
|
|
|
|
if [ -f $run_directory/.disabled ]; then
|
|
echo "Installation is disabled. Exiting..."
|
|
exit 0
|
|
fi
|
|
|
|
echo "Copying bashrc-mine to extensions directory..."
|
|
cp $run_directory/bashrc-mine /home/$user/.bashrc.d/
|
|
|
|
echo "Finished install. Exiting..."
|
|
exit 0
|