Skip to content

Instantly share code, notes, and snippets.

@adelinofaria
Last active July 13, 2023 16:13
Show Gist options
  • Save adelinofaria/b15be15f6dd7afcaaeef to your computer and use it in GitHub Desktop.
Save adelinofaria/b15be15f6dd7afcaaeef to your computer and use it in GitHub Desktop.
Bash config files script
# bash <(curl -s https://gist.githubusercontent.com/adelinofaria/b15be15f6dd7afcaaeef/raw)
echo "Start bash_config.sh"
#echo "Git Commit First Name"
#read gitFirstName
#echo "Git Commit Last Name"
#read gitLastName
#gitName="$gitFirstName $gitLastName"
#echo "Git Commit Email"
#read gitEmail
#user=$(whoami)
#echo "Github API Token for Homebrew"
#read githubToken
# .zshrc
echo "Downloading and installing ~/.zshrc"
curl -s https://gist.githubusercontent.com/adelinofaria/f895738b2bbae023356160bd4fa8b34b/raw > ~/.zshrc
# .bash_profile
#echo "Downloading and installing ~/.bash_profile"
#curl -s https://gist.githubusercontent.com/adelinofaria/d7edb77b17f53754a7d2/raw > ~/.bash_profile
# .bashrc
#echo "Downloading and installing ~/.bashrc"
#bashrc=$(curl -s https://gist.githubusercontent.com/adelinofaria/0ae0f9ca164aef5bccb5/raw)
#bashrc="${bashrc/GITHUB_TOKEN/$githubToken}"
#echo "$bashrc" > ~/.bashrc
# .bash_alias
#echo "Downloading and installing ~/.bash_alias"
#curl -s https://gist.githubusercontent.com/adelinofaria/b7b29ab0c753dd030fe0/raw > ~/.bash_aliases
# .git_config
#echo "Downloading and installing ~/.gitconfig"
#gitconfig=$(curl -s https://gist.githubusercontent.com/adelinofaria/07218cbbaa4af5ad1b57/raw)
#gitconfig="${gitconfig/GIT_NAME/$gitName}"
#gitconfig="${gitconfig/GIT_EMAIL/$gitEmail}"
#gitconfig="${gitconfig/CURRENT_USER/$user}"
#echo "$gitconfig" > ~/.gitconfig
# .gitignore_global
#echo "Downloading and installing ~/.gitignore_global"
#curl -s https://gist.githubusercontent.com/adelinofaria/5c801a8223c50f718f41/raw > ~/.gitignore_global
# .vimrc
#echo "Downloading and installing ~/.vimrc"
#curl -s https://gist.githubusercontent.com/adelinofaria/1205237cfa439bb05758/raw > ~/.vimrc
# .lldbinit
echo "Downloading and installing ~/.lldbinit"
curl -s https://gist.githubusercontent.com/adelinofaria/1aec9b6f96ee34320236/raw > ~/.lldbinit
# /etc/inputrc
#echo "Downloading and installing /etc/inputrc"
#curl -s https://gist.githubusercontent.com/adelinofaria/57561c90c79d0daeda3e/raw | sudo tee /etc/inputrc > /dev/null
echo "Done bash_config.sh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment