Last active
March 20, 2021 21:48
-
-
Save skewballfox/c8d768ef066caccb555402c3be475523 to your computer and use it in GitHub Desktop.
set up my environment for new users
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
git clone --bare "https://github.com/skewballfox/.cfg.git" "/$HOME/.config/git/cfg" | |
git --git-dir=$HOME/.config/git/cfg/ --work-tree=$HOME checkout --force | |
git --git-dir=$HOME/.config/git/cfg/ --work-tree=$HOME config --local status.showUntrackedFiles no | |
mkdir $HOME/.ssh $HOME/.gnupg | |
chmod 700 $HOME/.ssh $HOME/.gnupg | |
wget -O "$HOME/.gnupg/gpg.conf" https://raw.githubusercontent.com/drduh/config/master/gpg.conf | |
wget -O "$HOME/.gnupg/gpg-agent.conf" https://raw.githubusercontent.com/drduh/config/master/gpg-agent.conf | |
chmod 600 $HOME/.gnupg/gpg.conf | |
echo -e "[user]\n name = skewballfox\n email = joshua.ferguson.273@gmail.com" > $HOME/.config/git/config | |
echo -e "[credential]\n helper=libsecret">>$HOME/.config/git/config | |
fish -c "set -Ua fish_user_paths $HOME/.local" | |
gsettings set org.gnome.desktop.interface gtk-theme \'Materia-dark-compact\' | |
gsettings set org.gnome.desktop.interface icon-theme 'material-design-dark' | |
rm $0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment