ysl2 / .dotfiles

My dotfiles
1 stars 0 forks source link

windows installation #25

Open ysl2 opened 8 months ago

ysl2 commented 8 months ago

Installation on Windows

dotfiles

# NOTE: 
# 1. You should open the `Developer Mode` item in Windows `Settings -> Update & Security -> Developer 
# 2. Don't use administrator terminal, instead, use your normal terminal.
git clone git@github.com:ysl2/.dotfiles.git
git clone -c core.symlinks=true git@github.com:ysl2/.dotlinks.git -b windows

Special packages

# Don't use this to install texlive, instead, install it manually by local install.
choco install texlive --params="'/scheme:full'"
choco install ntop.portable

# Update: don't use conda, instead, use original python
# That's beacuse you might encounter the SSL problem, annoying :-<
choco install miniconda3
# Add to PATH:
# C:\tools\miniconda3
# C:\tools\miniconda3\Scripts

# Cmake
# Add to PATH: C:\Program Files\CMake\bin

Other packages

Chocolatey v2.2.2
chocolatey 2.2.2
chocolatey-compatibility.extension 1.0.0
chocolatey-core.extension 1.4.0
chocolatey-font-helpers.extension 0.0.4
chocolatey-windowsupdate.extension 1.0.5
clash-for-windows 0.20.2
git 2.43.0
git.install 2.43.0
KB2919355 1.0.20160915
KB2919442 1.0.20160915
KB2999226 1.0.20181019
KB3033929 1.0.5
KB3035131 1.0.3
KB3118401 1.0.5
lazygit 0.40.2
lf 0.26.0
microsoft-windows-terminal 1.19.3172-beta
neovim 0.9.5
nerd-fonts-FiraCode 3.1.1
nodejs 21.4.0
nodejs.install 21.4.0
powershell-core 7.4.0
pwsh 7.4.0
redshift 1.12.0
sharpkeys 3.5.0.20180307
starship 1.17.1
starship.install 1.17.1
sumatrapdf 3.5.2
sumatrapdf.install 3.5.2
vcredist140 14.38.33130
vcredist2015 14.0.24215.20170201
vim 9.0.2146
winrar 6.24.0
34 packages installed.
  1. Lf

    You need to set system variable EDITOR to vim (or any other editor), and link neovide to notepad.exe to replace default notepad (optional). Use vim to edit single file by pressing e key, and use neovim to edit project by pressing l key (I tried to inverse those two behavior but failed, so must be this at least now).

ysl2 commented 5 months ago

Installation on AI Studio

# First enter project:
cd
git clone https://gitee.com/ysl2/dotlib.git
git clone https://gitee.com/ysl2/dotfiles.git
mv dotfiles/.git dotfiles_git
ln -s dotfiles_git .git
ln -s dotlib .dotlib
~/.scripts/localbin.sh lf
~/.Local/bin/lf -config ~/.dotlib/.config/lf/lfrc  # Merge conflict files in $HOME ...
rm -rf dotfiles
source ~/.bashrc

# Restore project:
cd
ln -s dotfiles_git .git
ln -s dotlib .dotlib
git reset --hard HEAD
source ~/.bashrc