Skip to content

πŸ“œ my home + scripts

Notifications You must be signed in to change notification settings

cethien/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 

Repository files navigation

πŸ“„ 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

About

πŸ“œ my home + scripts

Resources

Stars

Watchers

Forks