Skip to content
/ configs Public

A collection of configuration files with defined aliases, color schemes, etc. for several applications.

Notifications You must be signed in to change notification settings

smare/configs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

configs

A collection of configuration files with defined aliases, color schemes, etc. for several applications.

Make the following hardlinks for Windows user's config files.

Arduino IDE

mv $ENV:LOCALAPPDATA\Arduino15\arduino-cli.yaml $ENV:LOCALAPPDATA\Arduino15\arduino-cli.yaml.bak
New-Item -ItemType Hardlink -Path "$ENV:LOCALAPPDATA\Arduino15\arduino-cli.yaml" -Target C:\dev\projects\configs\ArduinoIDE\2.x\arduino-cli.yaml

bat

New-Item -ItemType Hardlink -Path "$ENV:APPDATA\bat\.config" -Target C:\dev\projects\configs\bat\.config

bash

Ensure .profile and .bash_profile exist in $HOME. Take care to update an existing .bashrc if there is one.

No .bashrc (ex. Git for Windows):

New-Item -ItemType Hardlink -Path "$HOME\.bashrc" -Target C:\dev\projects\configs\bash\.bashrc
New-Item -ItemType Hardlink -Path "$HOME\.bash_aliases" -Target C:\dev\projects\configs\bash\.bash_aliases

Existing .bashrc without reference to .bash_aliases (WSL):

cat C:/dev/projects/configs/bash/.bashrc >> ./~bashrc

PowerShell:

cat C:\dev\projects\configs\bash\.bashrc >> $HOME\.bashrc

cmd

New-Item -ItemType Hardlink -Path "$HOME\doskey-macros.txt" -Target C:\dev\projects\configs\cmd\doskey-macros.txt

Then run the following command from a command prompt (not PowerShell):

reg add "HKCU\Software\Microsoft\Command Processor" /v Autorun /d "doskey /macrofile=\"%HOME%\doskey-macros.txt\"" /f

vim

New-Item -ItemType Hardlink -Path "$ENV:ProgramFiles\Vim\_vimrc" -Target C:\dev\projects\configs\vim\_vimrc

git

New-Item -ItemType Hardlink -Path "$HOME\.gitconfig" -Target C:\dev\projects\configs\git\.gitconfig

ripgrep

New-Item -ItemType Hardlink -Path "$HOME\.rgconfig" -Target C:\dev\projects\configs\ripgrep\.rgconfig

PowerShell

New-Item -ItemType Hardlink -Path "$ENV:ProgramFiles\PowerShell\7\Microsoft.PowerShell_profile.ps1" -Target C:\dev\projects\configs\powershell\Microsoft.PowerShell_profile.ps1

New-Item -ItemType Hardlink -Path "$HOME\OneDrive\Documents\PowerShell\Microsoft.VSCode_profile.ps1" -Target C:\dev\projects\configs\powershell\Microsoft.VSCode_profile.ps1

bottom (btm)

New-Item -ItemType Hardlink -Path "$ENV:APPDATA\bottom\bottom.toml" -Target C:\dev\projects\configs\bottom\bottom.toml

About

A collection of configuration files with defined aliases, color schemes, etc. for several applications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published