mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 12:49:26 +01:00
Added install.sh
It installs these files. WARNING! Read what the install.sh file does, so you will avoid unpleasant surprises.
This commit is contained in:
parent
aff4c5e697
commit
e54790f8a3
16
install.sh
Executable file
16
install.sh
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# This script "installs" files in this gist.
|
||||||
|
# WARNING: This will overwrite your .bashrc, .bash_aliases and .bash_profile !!!!!!
|
||||||
|
# NOTICE: For this script to work, you must cd to folder where this script is.
|
||||||
|
echo "Installing bash_aliases."
|
||||||
|
cat bash_aliases > ~/.bash_aliases
|
||||||
|
echo "bash_aliases installed."
|
||||||
|
echo "Installing bash_profile"
|
||||||
|
cat bash_profile > ~/.bash_profile
|
||||||
|
echo "bash_profile installed."
|
||||||
|
echo "Installing bashrc."
|
||||||
|
cat bashrc > ~/.bashrc
|
||||||
|
echo "bashrc installed."
|
||||||
|
echo "Sourcing bashrc..."
|
||||||
|
source ~/.bashrc
|
||||||
|
echo "Installation has completed."
|
Loading…
Reference in New Issue
Block a user