Skip to content

codyduong/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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'))

Features

TO-DO

Issues

  • Problem: Powershell profile is not saved in start menu.
  • Solution: Run powershell as admin, copy working .lnk
    cp "$PROFILE\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\PowerShell 7-preview (x64).lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\PowerShell\"