252 字
1 分钟
现代化终端配置

$PATH中增加路径#

Terminal window
typeset -U path
path=("$HOME/.local/bin" $path)

汇总#

lewislulu
/
terminal-setup
Waiting for api.github.com...
00K
0K
0K
Waiting...
组件说明
startshipshell 方案
lsd增强版 ls
fd更快更直观的 find
fzf模糊查找器
zoxide智能 cd
tldr简化版 man 手册,附带示例

lsd#

lsd-rs
/
lsd
Waiting for api.github.com...
00K
0K
0K
Waiting...

使用 GitHub Releases 单文件安装,apt库的版本太低。

Releases · lsd-rs/lsd
The next gen ls command. Contribute to lsd-rs/lsd development by creating an account on GitHub.
GitHub

可以在zsh的配置文件中加入以下配置:

Terminal window
# lsd
alias ls='lsd'
alias ll='lsd -alFh' #以MB、GB显示文件的详细信息
alias lt='lsd --tree' #以树形结构显示文件

fd#

sharkdp
/
fd
Waiting for api.github.com...
00K
0K
0K
Waiting...

使用 GitHub Releases 单文件安装,apt库的版本太低。

Releases · sharkdp/fd
A simple, fast and user-friendly alternative to 'find' - sharkdp/fd
GitHub

使用方法:

Terminal window
fd [OPTIONS] [pattern [path]...]

fzf#

junegunn
/
fzf
Waiting for api.github.com...
00K
0K
0K
Waiting...

使用 GitHub Releases 单文件安装,apt库的版本太低。

Releases · junegunn/fzf
:cherry_blossom: A command-line fuzzy finder. Contribute to junegunn/fzf development by creating an account on GitHub.
GitHub

可以在zsh的配置文件中加入以下配置:

Terminal window
# Set up fzf key bindings and fuzzy completion
source <(fzf --zsh)

zoxide#

ajeetdsouza
/
zoxide
Waiting for api.github.com...
00K
0K
0K
Waiting...

安装脚本:

Terminal window
curl -sSfL https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | sh

可以在zsh的配置文件中加入以下配置:

Terminal window
eval "$(zoxide init zsh)"

tldr#

tldr-pages
/
tlrc
Waiting for api.github.com...
00K
0K
0K
Waiting...

使用 GitHub Releases 单文件安装,apt库的版本太低。

Releases · tldr-pages/tlrc
Official tldr client written in Rust. Contribute to tldr-pages/tlrc development by creating an account on GitHub.
GitHub

安装完之后,需要运行

Terminal window
tldr -u

下载文档,方可使用。

现代化终端配置
https://blog.echopath.one/posts/modern-terminal/
作者
Lucien Noir
发布于
2026-04-09
许可协议
CC BY-NC-SA 4.0