12 lines
336 B
Bash
12 lines
336 B
Bash
#!/bin/bash
|
|
|
|
read -p "Do you want to install Qash? This will move your old .bashrc and replace it with Qash. y/N "
|
|
|
|
if [[ $REPLY -eq 'y' ]]; then
|
|
mv ~/.bashrc ~/.bashrc.old
|
|
dir=./library/getdir.sh
|
|
echo "#!/bin/bash" >> ~/.bashrc
|
|
echo "$dir/load.sh" >> ~/.bashrc
|
|
~/.bashrc
|
|
echo "Qash $QASH_VERSION successfully installed!"
|
|
fi |