dotfiles

Cross platform dotfiles for linux, mac and windows
git clone git@getsh.org:dotfiles.git
Log | Files | Refs

commit 9d5ba3774a2b288d37c59ba2d39859406fb18b9e
parent 442b1242c6d450bdca1dc3c697b18e98e261bc7b
Author: Bharatvaj <bharatvaj@yahoo.com>
Date:   Tue, 31 May 2022 18:43:19 +0530

Setup clink for cmd

Add .config/clink/clink_settings

Use eol=crlf for *.cmd files, lf with cmd causes isses

Diffstat:
M.config/.gitignore | 5++++-
A.config/clink/clink_settings | 1+
M.config/cmd/profile.cmd | 2+-
M.config/cmd/setup.ps1 | 2++
M.gitattributes | 1+
5 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/.config/.gitignore b/.config/.gitignore @@ -6,9 +6,10 @@ !X11 !alacritty/ !alacritty/** -alacritty/windows.yml !bash/ !bash/** +!clink +!clink/clink_settings !cmd/ !cmd/** !git/ @@ -29,3 +30,5 @@ alacritty/windows.yml !vim/ !vim/** !wgetrc + +alacritty/windows.yml diff --git a/.config/clink/clink_settings b/.config/clink/clink_settings @@ -0,0 +1 @@ +clink.autostart=%XDG_CONFIG_HOME%\cmd\profile.cmd diff --git a/.config/cmd/profile.cmd b/.config/cmd/profile.cmd @@ -12,4 +12,4 @@ set XDG_CACHE_HOME=%USERPROFILE%\.cache set MYVIMRC=%XDG_CONFIG_HOME%\vim\vimrc set VIMINIT=source $MYVIMRC -%USERPROFILE%\.config\cmd\aliases.cmd +%XDG_CONFIG_HOME%\cmd\aliases.cmd diff --git a/.config/cmd/setup.ps1 b/.config/cmd/setup.ps1 @@ -6,3 +6,5 @@ Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get. # Install the absolute essentials scoop install $(gc ~/.config/cmd/packages.txt) +# Setup clink +clink autorun set "clink inject --profile %XDG_CONFIG_HOME%\clink" diff --git a/.gitattributes b/.gitattributes @@ -1 +1,2 @@ * text eol=lf +*.cmd text eol=crlf