Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated README.md NVIDIA instructions for WSL, Updated & sync'd ubuntu-* scripts, and updated dotfiles.sh #32

Merged
merged 9 commits into from
Sep 9, 2023
Prev Previous commit
Next Next commit
Cleanup whitespace in dotfiles.sh
stillgreyfox committed Oct 21, 2022
commit 8a9944ea33b2588073137ad8b202c2ee671556a4
10 changes: 3 additions & 7 deletions dotfiles.sh
Original file line number Diff line number Diff line change
@@ -3,22 +3,18 @@ shopt -s expand_aliases
alias config="/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME"
echo ".cfg" >> .gitignore
read -e -p "Please paste a HTTPS link to your dotfiles repository (or press enter to use defaults): " DOTFILES_URL
[[ -z $DOTFILES_URL ]] && DOTFILES_URL=https://github.com/fastai/dotfiles.git
[[ -z $DOTFILES_URL ]] && DOTFILES_URL=https://github.com/fastai/dotfiles.git
git clone --bare $DOTFILES_URL .cfg/
config checkout
config config --local status.showUntrackedFiles no
if [[ -s ~/.vimrc ]]; then
if [[ -s ~/.vimrc ]]; then
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim -T dumb -n -i NONE -es -S <(echo -e "silent! PluginInstall\nqall")
fi
fi
echo "source ~/.bashrc.local" >> ~/.bashrc
grep -q 'source ~/.bashrc' ~/.bash_profile 2&> 1 || echo "source ~/.bashrc" >> ~/.bash_profile;
. ~/.bashrc





[[ -z $NAME ]] && read -e -p "Enter your name (for git configuration): " NAME
[[ -z $EMAIL ]] && read -e -p "Enter your email (for git configuration): " EMAIL
[[ $NAME ]] && git config --global user.name "$NAME"