From fedb6ded02ebf1eb601551945c367bda2b7ff9bf Mon Sep 17 00:00:00 2001 From: js0ny Date: Wed, 30 Oct 2024 17:30:40 +0000 Subject: [PATCH] Moving to XDG Standard --- .condarc | 1 - .config/conda/condarc.yaml | 5 +++++ .npmrc | 3 +++ vscode/vscode.vimrc | 6 ++++-- win/.wslconfig | 2 ++ 5 files changed, 14 insertions(+), 3 deletions(-) delete mode 100644 .condarc create mode 100644 .config/conda/condarc.yaml diff --git a/.condarc b/.condarc deleted file mode 100644 index 14d8073..0000000 --- a/.condarc +++ /dev/null @@ -1 +0,0 @@ -auto_activate_base: false diff --git a/.config/conda/condarc.yaml b/.config/conda/condarc.yaml new file mode 100644 index 0000000..f974ff7 --- /dev/null +++ b/.config/conda/condarc.yaml @@ -0,0 +1,5 @@ +# ~/.config/conda/condarc.yaml +# New-Item -ItemType SymbolicLink -Path ~\.config\conda\.condarc -Target ~\.dotfiles\.config\conda\condarc.yaml +# mkdir -p ~/.config/conda/ && ln -s ~/.dotfiles/.config/conda/condarc.yaml ~/.config/conda/.condarc +# Reference: https://docs.conda.io/projects/conda/en/latest/user-guide/configuration/use-condarc.html +auto_activate_base: false \ No newline at end of file diff --git a/.npmrc b/.npmrc index 7bfb4b1..32f372a 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,4 @@ +# ~/.npmrc +# New-Item -ItemType SymbolicLink -Path ~\.npmrc -Target ~\.dotfiles\.npmrc +# ln -s ~/.dotfiles/.npmrc ~/.npmrc # registry=https://registry.npmmirror.com diff --git a/vscode/vscode.vimrc b/vscode/vscode.vimrc index ad3559a..c67be30 100644 --- a/vscode/vscode.vimrc +++ b/vscode/vscode.vimrc @@ -1,6 +1,8 @@ -" Put this in ~/.vscode.vimrc +" ~/.config/vscode/vscode.vimrc +" New-Item -ItemType SymbolicLink -Path ~\.config\vscode\vscode.vimrc -Target ~\.dotfiles\vscode\vscode.vimrc +" mkdir -p ~/.config/vscode && ln -s ~/.config/vscode/vscode.vimrc ~/.vimrc " And go to vscode vim setting: - "vim.vimrc.path": "$HOME/.vscode.vimrc", + "vim.vimrc.path": "$HOME/.config/vscode/vscode.vimrc", " Word wrap noremap n gj diff --git a/win/.wslconfig b/win/.wslconfig index 6320c42..da21668 100644 --- a/win/.wslconfig +++ b/win/.wslconfig @@ -1,3 +1,5 @@ +# ~/.wslconfig +# New-Item -ItemType SymbolicLink -Path ~\.wslconfig -Target ~\.dotfiles\win\.wslconfig [wsl2] networkingMode=mirrored dnsTunneling=true