dotfiles

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

commit 0b20b40a50c3a01c2fdb7ff3dc3b5ba9c4d5b908
parent 1afd5d620545249a605e2edec396939044a0ec83
Author: Bharatvaj <bharatvaj@yahoo.com>
Date:   Sun,  3 Sep 2023 21:27:51 +0530

Move contents of env.bat to profile.cmd to save startup time

Diffstat:
D.config/cmd/env.bat | 14--------------
M.config/cmd/profile.cmd | 20+++++++++++++++++---
2 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/.config/cmd/env.bat b/.config/cmd/env.bat @@ -1,14 +0,0 @@ -set HOME=%USERPROFILE% -set XDG_CONFIG_HOME=%USERPROFILE%\.config -set XDG_DATA_HOME=%USERPROFILE%\.local\share -set XDG_CACHE_HOME=%USERPROFILE%\.cache -set VISUAL=vim -set EDITOR=%VISUAL% - -set GNUPGHOME=%XDG_DATA_HOME%\gnupg -set GPGHOME=%XDG_DATA_HOME%\gnupg -set PASSWORD_STORE_DIR=%XDG_DATA_HOME%\pass -set PASS_BASE_DIR=%XDG_DATA_HOME%\pass -set NB_PATH=%XDG_DATA_HOME%\notebook - -set PATH=%PATH%;%USERPROFILE%\.local\bin\cmd diff --git a/.config/cmd/profile.cmd b/.config/cmd/profile.cmd @@ -2,6 +2,20 @@ cd %USERPROFILE% -@call %XDG_CONFIG_HOME%\cmd\env.bat -@call %XDG_CONFIG_HOME%\cmd\userenv.bat -@call %XDG_CONFIG_HOME%\cmd\aliases.bat +set HOME=%USERPROFILE% +set XDG_CONFIG_HOME=%HOME%/.config +set XDG_DATA_HOME=%HOME%/.local/share +set XDG_CACHE_HOME=%HOME%/.cache +set VISUAL=vim +set EDITOR=%VISUAL% + +set GNUPGHOME=%XDG_DATA_HOME%/gnupg +set GPGHOME=%XDG_DATA_HOME%/gnupg +set PASSWORD_STORE_DIR=%XDG_DATA_HOME%/pass +set PASS_BASE_DIR=%XDG_DATA_HOME%/pass +set NB_PATH=%XDG_DATA_HOME%/notebook + +set PATH=%PATH%;%USERPROFILE%/.local/bin/cmd + +@call %XDG_CONFIG_HOME%/cmd/aliases.bat +@call %XDG_CONFIG_HOME%/cmd/userenv.bat