From 91ac2eb7b4774e4aab512c2cd606f3bbfbbdb949 Mon Sep 17 00:00:00 2001 From: 1754165401 <1754165401@qq.com> Date: Thu, 29 Aug 2024 21:00:22 +0800 Subject: [PATCH] Site updated: 2024-08-29 21:00:21 --- 2024/08/27/scoop-on-git-bash/index.html | 16 +++++++++++----- search.xml | 8 +++++++- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/2024/08/27/scoop-on-git-bash/index.html b/2024/08/27/scoop-on-git-bash/index.html index f985564..0ba7090 100644 --- a/2024/08/27/scoop-on-git-bash/index.html +++ b/2024/08/27/scoop-on-git-bash/index.html @@ -32,7 +32,7 @@ - + @@ -606,8 +606,8 @@

  - 2024-08-27 21:37:55 - 2024-08-27 21:37:55 + 2024-08-29 21:04 + 2024-08-29 21:04 Updated @@ -618,7 +618,7 @@

-  517 Words +  579 Words @@ -659,6 +659,12 @@

Lu

Cursor安装

openai推出的一个编辑器,优点在于可以使用AI辅助coding,还可以同步VsCode的所有设置和插件,非常不错,这个的安装要自己去官网下载安装包安装,然后安装的适合可以选择是否安装到命令行,对于git-bash下,直接cursor会出错,需要cd $(dirname $(which cursor)),然后参考https://github.com/getcursor/cursor/issues/1121 修改cursor这个脚本就可以了。

zsh history

在Windows下,我的zsh会将history全部存储在/c/Users/$(Username)下,然后它还不会把history全部存储在一个.zsh_history文件中,你可以使用以下命令定期对这些文件进行整理。

1
2
cat ~/.zsh_history.* >> ~/.zsh_history
rm ~/.zsh_history.*
+ + +

cargo

直接scoop install rustup会在使用的时候报一个link.exe什么的错误,你可以这样:

+
1
2
3
scoop install rustup-gnu
rustup toolchain install stable-x86_64-pc-windows-gnu
rustup default stable-x86_64-pc-windows-gnu
+

具体可以参考https://stackoverflow.com/questions/73421853/how-to-install-rust-via-cli-on-windows

+ @@ -672,7 +678,7 @@

LunarVim

直接scoop install lunarvim,在这之前要scoop install neovim一下,然后关于NodeJs的,建议在这之前装好nvmminiconda,都可以使用scoop安装。对于nvm,在Windows下直接nvm install 18大概率会出错,具体可以参考https://github.com/coreybutler/nvm-windows/issues/436 。所以你可以nvm install latest all --insecure,这里的重点在这个insecure。对于npm,可以使用npm proxy http://127.0.0.1:7890设置代理。

Cursor安装

openai推出的一个编辑器,优点在于可以使用AI辅助coding,还可以同步VsCode的所有设置和插件,非常不错,这个的安装要自己去官网下载安装包安装,然后安装的适合可以选择是否安装到命令行,对于git-bash下,直接cursor会出错,需要cd $(dirname $(which cursor)),然后参考https://github.com/getcursor/cursor/issues/1121 修改cursor这个脚本就可以了。

zsh history

在Windows下,我的zsh会将history全部存储在/c/Users/$(Username)下,然后它还不会把history全部存储在一个.zsh_history文件中,你可以使用以下命令定期对这些文件进行整理。

-
cat ~/.zsh_history.* >> ~/.zsh_history
rm ~/.zsh_history.*
]]> +
cat ~/.zsh_history.* >> ~/.zsh_history
rm ~/.zsh_history.*
+ + +

cargo

直接scoop install rustup会在使用的时候报一个link.exe什么的错误,你可以这样:

+
scoop install rustup-gnu
rustup toolchain install stable-x86_64-pc-windows-gnu
rustup default stable-x86_64-pc-windows-gnu
+

具体可以参考https://stackoverflow.com/questions/73421853/how-to-install-rust-via-cli-on-windows

+]]>