252 字
1 分钟
现代化终端配置
在$PATH中增加路径
typeset -U pathpath=("$HOME/.local/bin" $path)汇总
Waiting for api.github.com...
| 组件 | 说明 |
|---|---|
| startship | shell 方案 |
| lsd | 增强版 ls |
| fd | 更快更直观的 find |
| fzf | 模糊查找器 |
| zoxide | 智能 cd |
| tldr | 简化版 man 手册,附带示例 |
lsd
Waiting for api.github.com...
使用 GitHub Releases 单文件安装,apt库的版本太低。
Releases · lsd-rs/lsd
↗
The next gen ls command. Contribute to lsd-rs/lsd development by creating an account on GitHub.
可以在zsh的配置文件中加入以下配置:
# lsdalias ls='lsd'alias ll='lsd -alFh' #以MB、GB显示文件的详细信息alias lt='lsd --tree' #以树形结构显示文件fd
Waiting for api.github.com...
使用 GitHub Releases 单文件安装,apt库的版本太低。
Releases · sharkdp/fd
↗
A simple, fast and user-friendly alternative to 'find' - sharkdp/fd
使用方法:
fd [OPTIONS] [pattern [path]...]fzf
Waiting for api.github.com...
使用 GitHub Releases 单文件安装,apt库的版本太低。
Releases · junegunn/fzf
↗
:cherry_blossom: A command-line fuzzy finder. Contribute to junegunn/fzf development by creating an account on GitHub.
可以在zsh的配置文件中加入以下配置:
# Set up fzf key bindings and fuzzy completionsource <(fzf --zsh)zoxide
Waiting for api.github.com...
安装脚本:
curl -sSfL https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | sh可以在zsh的配置文件中加入以下配置:
eval "$(zoxide init zsh)"tldr
Waiting for api.github.com...
使用 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.
安装完之后,需要运行
tldr -u下载文档,方可使用。