1
Watch
1
Star
0
Fork
41
Issue

My dotfiles for all platforms

codyduong
codyduong
pushedAt 1 month ago

codyduong/dotfiles

dotfiles

My "dotfiles" for linux/windows with bootstrap scripts

Linux

For Ubuntu distros... TODO other distros

Start

with curl

sudo apt install curl -y >/dev/null
which curl >/dev/null
  && curl https://raw.githubusercontent.com/codyduong/dotfiles/main/linux/install.sh | bash
  || echo "\033[1;31mbootstrap failed\033[0m"

with git

git clone https://github.com/codyduong/dotfiles ~/dotfiles &&
dotfiles/linux/bootstrap.sh

Windows

Based off Jay Harris's dotfiles for Windows

Pre-reqs

  • Powershell 7.2^
    # in terminal/cmd
    winget install --id Microsoft.Powershell --source winget
    winget install --id Microsoft.Powershell.Preview --source winget

Bootstrap Profile

without git

iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/codyduong/dotfiles/main/windows/setup/remote.ps1'))

with git

iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/codyduong/dotfiles/main/windows/setup/git.ps1'))