update(linux): zoxide
This commit is contained in:
parent
79ab8fb8e6
commit
4fb94b5d0a
@ -95,3 +95,27 @@ flatpak update --user com.uploadedlobster.peek
|
|||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install timeshift
|
sudo apt-get install timeshift
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### [zoxide](https://github.com/ajeetdsouza/zoxide)
|
||||||
|
|
||||||
|
一个更智能的 cd 命令,可以记住路径
|
||||||
|
|
||||||
|
1. 安装二进制文件
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -sSfL https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | sh
|
||||||
|
```
|
||||||
|
|
||||||
|
2. 设置 zoxide
|
||||||
|
将以下内容添加到配置文件末尾(通常是 ~/.bashrc):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
eval "$(zoxide init bash)"
|
||||||
|
```
|
||||||
|
|
||||||
|
3. 安装 fzf
|
||||||
|
|
||||||
|
```bash
|
||||||
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
|
brew install fzf
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user