为了在每次启动Shell时自动加载Starship,你需要将以下内容添加到Fish Shell的配置文件~/.config/fish/config.fish: # 启动时加载 Starship eval (starship init fish) Starship的配置文件为~/.config/starship.toml,你可以使用文本编辑器打开并进行编辑: nano ~/.config/starship.toml 在配置文件中,你可以自定义提示...
# 克隆 Starship 仓库gitclonehttps://github.com/starship/starship.git# 进入源代码目录cdstarship# 编译和安装cargo build --releasesudomvtarget/release/starship /usr/local/bin/ 配置Starship 为了在每次启动Shell时自动加载Starship,你需要将以下内容添加到Fish Shell的配置文件~/.config/fish/config.fish: # ...
# 克隆 Starship 仓库gitclone https://github.com/starship/starship.git# 进入源代码目录cdstarship# 编译和安装cargo build --releasesudomvtarget/release/starship /usr/local/bin/ 配置Starship 为了在每次启动Shell时自动加载Starship,你需要将以下内容添加到Fish Shell的配置文件~/.config/fish/config.fish: # ...
总之,Fish Shell和Starship的出现为命令行界面带来了全新的体验。它们不仅提供了更加友好、高效的操作方式,还通过美观的界面和高度可定制的特性,满足了用户对于个性化和美观性的追求。在未来,随着技术的不断发展,我们有理由相信,命令行界面将会变得更加出色和人性化。
Starship: 适用于任何 shell 的跨 shell 提示符 Starship 是一个极简、快速且高度可定制的提示符!显示你需要的信息……starship.rs 当你通过命令行应用程序或直接通过终端模拟器自定义命令提示符时,Nerd Fonts 是一个你需要经常访问的网站。在终端中使用 Nerd 字体可以让你拥有非常不错的图标和字体自定义功能,这些...
随着技术的发展和用户对效率的追求,命令行工具已经不再仅仅满足于基本的功能,而更加注重用户体验和美观性。在这样的背景下,Fish Shell和Starship应运而生,它们为命令行界面带来了革命性的改变,让用户享受到了更加友好、高效的操作体验。 Fish Shell,作为一款现代、用户友好的命令行Shell,它的设计理念是提供更加出色的...
于是我找到了标题的Fish Shell和starship。 Fish shell ohmyzsh把配置一个简单易用的zsh终端环境简化为: 执行安装命令 克隆插件仓库,在配置中选择自己要用的插件 使用 Fish开发者:蛤?有点麻烦,不能开箱即用算哪门子方便 于是,使用fish的步骤是: 执行安装命令 ...
建议使用 oh-my-zsh 或 starship 来修改 zsh 的主题和安装常用的插件。 fish ubuntu: sudo apt install fish -y 设置为默认shell 查看系统所有的 shell: cat /etc/shells 设置为系统默认 shell chsh -s /usr/bin/fish 进入fish 在当前终端中输入fish即可进入zsh shell。
starship (#8520) topgrade (#8651) wine, wineboot and winemaker (#8411) Windows Subsystem for Linux (WSL)’s wslpath (#8364) Windows’ color (#8483), attrib, attributes, choice, clean, cleanmgr, cmd, cmdkey, comp, forfiles, powershell, reg, schtasks, setx (#8486) zef (#8114) Impr...
starship (#8520) topgrade (#8651) wine, wineboot and winemaker (#8411) Windows Subsystem for Linux (WSL)’s wslpath (#8364) Windows’ color (#8483), attrib, attributes, choice, clean, cleanmgr, cmd, cmdkey, comp, forfiles, powershell, reg, schtasks, setx (#8486) zef (#8114) Impr...