mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
refractor: Reorganise dotfiles structures
This commit is contained in:
parent
2bd9138a5f
commit
bd5ca49c3e
131 changed files with 43 additions and 114 deletions
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"line-length": false,
|
||||
"no-inline-html": false,
|
||||
"no-alt-text": false,
|
||||
"ul-style": { "style": "dash" }
|
||||
}
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
# ~/.npmrc
|
||||
# New-Item -ItemType SymbolicLink -Path ~\.npmrc -Target ~\.dotfiles\.npmrc
|
||||
# ln -s $DOTFILES/.npmrc ~/.npmrc
|
||||
# registry=https://registry.npmmirror.com
|
||||
37
.gitignore
vendored
37
.gitignore
vendored
|
|
@ -16,24 +16,24 @@ test.*
|
|||
xdg-ninja/
|
||||
|
||||
# IPython config cache
|
||||
.config/ipython/profile_default/db
|
||||
.config/ipython/profile_default/log
|
||||
.config/ipython/profile_default/pid
|
||||
.config/ipython/profile_default/security
|
||||
.config/ipython/profile_default/history.sqlite
|
||||
tools/ipython/profile_default/db
|
||||
tools/ipython/profile_default/log
|
||||
tools/ipython/profile_default/pid
|
||||
tools/ipython/profile_default/security
|
||||
tools/ipython/profile_default/history.sqlite
|
||||
|
||||
# nvim config cache
|
||||
.config/nvim/tt.*
|
||||
.config/nvim/.tests
|
||||
.config/nvim/doc/tags
|
||||
.config/nvim/debug
|
||||
.config/nvim/.repro
|
||||
.config/nvim/foo.*
|
||||
.config/nvim/*.log
|
||||
.config/nvim/data
|
||||
.config/nvim/lazy-lock.json
|
||||
.config/nvim/lazyvim.json
|
||||
.config/nvim/lua/plugins/obsidian.lua
|
||||
tools/nvim/tt.*
|
||||
tools/nvim/.tests
|
||||
tools/nvim/doc/tags
|
||||
tools/nvim/debug
|
||||
tools/nvim/.repro
|
||||
tools/nvim/foo.*
|
||||
tools/nvim/*.log
|
||||
tools/nvim/data
|
||||
tools/nvim/lazy-lock.json
|
||||
tools/nvim/lazyvim.json
|
||||
tools/nvim/lua/plugins/obsidian.lua
|
||||
|
||||
# Undone
|
||||
# Windows PowerToys
|
||||
|
|
@ -41,10 +41,7 @@ PowerToys/
|
|||
# Just Script
|
||||
Justfile
|
||||
# Nushell
|
||||
.config/nushell/
|
||||
# VSCode Neovim
|
||||
vscode/
|
||||
.vscode/
|
||||
tools/nushell/
|
||||
|
||||
# OS generated files
|
||||
.DS_Store
|
||||
|
|
|
|||
25
.vscode/settings.json
vendored
Normal file
25
.vscode/settings.json
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"material-icon-theme.files.associations": {
|
||||
"ideavimrc": "vim",
|
||||
"vimrc": "vim",
|
||||
"haskeline": "haskell",
|
||||
"inputrc": "console",
|
||||
"npmrc": "npm",
|
||||
"lesskey": "less",
|
||||
"config.kdl": "json",
|
||||
"pip.conf": "python-misc",
|
||||
"*.kdl": "json",
|
||||
"gitconfig": "git",
|
||||
"nvim/init.lua": "vim",
|
||||
"markdownlint.json": "markdownlint",
|
||||
".wslconfig": "settings",
|
||||
"*.hsnips": ""
|
||||
},
|
||||
"material-icon-theme.folders.associations": {
|
||||
"bootstrap": "admin"
|
||||
},
|
||||
"files.associations": {
|
||||
"ideavimrc": "Vimscript",
|
||||
".wslconfig": "properties",
|
||||
},
|
||||
}
|
||||
1
mac/plum
1
mac/plum
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 4c28f11f451facef809b380502874a48ba964ddb
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
# pip
|
||||
Set-Alias pip pip3
|
||||
Set-Alias python python3
|
||||
python -m pip install --upgrade pip
|
||||
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
# npm
|
||||
npm config set registry https://registry.npmmirror.com
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
# pip
|
||||
alias pip=pip3
|
||||
alias python=python3
|
||||
python -m pip install --upgrade pip
|
||||
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
# npm
|
||||
npm config set registry https://registry.npmmirror.com
|
||||
|
||||
|
||||
|
||||
# Linuxbrew
|
||||
export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git"
|
||||
|
||||
# 注:自 brew 4.0 起,使用默认 prefix (即 "/home/linuxbrew/.linuxbrew") 的大部分 Homebrew 用户无需设置 homebrew/core 镜像,只需设置 HOMEBREW_API_DOMAIN 即可。
|
||||
# 如果不是默认 prefix 或者需要使用 Homebrew 的开发命令 (如 `brew cat <formula>`),则仍然需要设置 homebrew/core 镜像。
|
||||
# 请按需执行如下命令:
|
||||
brew tap --custom-remote --force-auto-update homebrew/core https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
|
||||
|
||||
# 除 homebrew/core 仓库外的 tap 仓库仍然需要设置镜像
|
||||
brew tap --custom-remote --force-auto-update homebrew/command-not-found https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-command-not-found.git
|
||||
brew tap --custom-remote --force-auto-update homebrew/services https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-services.git
|
||||
brew update
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
|
||||
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy main restricted universe multiverse
|
||||
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy main restricted universe multiverse
|
||||
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-updates main restricted universe multiverse
|
||||
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-updates main restricted universe multiverse
|
||||
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-backports main restricted universe multiverse
|
||||
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-backports main restricted universe multiverse
|
||||
|
||||
# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
|
||||
deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
|
||||
# deb-src http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
|
||||
|
||||
# 预发布软件源,不建议启用
|
||||
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-proposed main restricted universe multiverse
|
||||
# # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-proposed main restricted universe multiverse
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
echo "Making Backup of /etc/apt/sources.list..."
|
||||
sudo mv /etc/apt/sources.list /etc/apt/sources.list.bak
|
||||
|
||||
echo "Adding Ubuntu Repositories..."
|
||||
sudo cp ./tuna_ubuntu.list /etc/apt/sources.list
|
||||
|
|
@ -2,3 +2,4 @@
|
|||
|
||||
Moving to *Colemak*
|
||||
|
||||
This branch is WIP.
|
||||
|
|
|
|||
|
|
@ -1,19 +0,0 @@
|
|||
# This file lists all the must-have libraries for installing a new computer
|
||||
# For scripting use
|
||||
# pip install -r requirements.txt
|
||||
colorama
|
||||
# Basic Mathemetics
|
||||
numpy
|
||||
matplotlib
|
||||
# Data Analysis
|
||||
pandas
|
||||
# Image Processing
|
||||
pillow
|
||||
# Web Scraping
|
||||
requests
|
||||
beautifulsoup4
|
||||
# Testing
|
||||
pytest
|
||||
mypy
|
||||
# Healthy Neovim
|
||||
pynvim
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue