Skip to content

Latest commit

 

History

History
71 lines (51 loc) · 1.81 KB

README.md

File metadata and controls

71 lines (51 loc) · 1.81 KB

📄 dotfiles & Scripts

i'm a nerd 🤓

Commands

OS Command Description
🪟 🐧 reload reloads shell profile
🪟 🐧 update execute updates
🐧 init creates a project from template

Git

Type Command Description/Value
command git ignore fetches ignore file: git ignore go > .gitignore

Scripts

Setup (Windows)

git init
git remote add origin https://github.com/cethien/dotfiles-and-scripts.git
git fetch
git reset --hard origin/win
git pull --set-upstream origin win

. "$env:USERPROFILE/scripts/setup.ps1" -Profiles <profiles>
Profile Description
customizing customization stuff
home some stuff on a personal desktop
dev development stuff
gaming games & launchers

Setup (WSL Ubuntu/Debian)

git init -b wsl-deb
git remote add origin https://github.com/cethien/dotfiles-and-scripts.git
git fetch
git reset --hard origin/wsl-deb
git pull --set-upstream origin wsl-deb

. $HOME/scripts/setup.sh

dont forget to set git username and email for repo!

Create folder backup (Windows)

useful script for backing up folders

  1. create a environment variable BACKUP
  2. create script for backing up:
. $env:USERPROFILE/scripts/create-folder-backup.ps1

(optional): create .backupignore file:

folder1\
folder2\
config.ini