大家好,很高兴又见面了,我是"高级前端?进阶?",由我带着大家一起关注前端前沿、深入前端底层技术,大家一起进步,也欢迎大家关注、点赞、收藏、转发,您的支持是我不断创作的动力。
什么是 Superfile
Superfile is a very fancy and modern terminal file manager that can complete the file operations you need!!
Superfile 是完美的基于终端的文件管理器,可以完成用户需要的任何文件操作。突出特征包括:
- 精致美观的 UI:这也是 superfile 的初衷,所以整个 superfile 非常的美观
- 功能齐全:这款文件管理器让用户几乎可以做想在文件管理器上做的所有事情。
- 完全可定制:包括:热键,到整个主题颜色甚至边框样式都可以定制
- 支持多面板:多面板让开发者可以同时查看多个目录,只需几个简单的步骤就可以完成复制粘贴,而无需返回主目录。
目前 Superfile 在 Github 通过 MIT 协议开源,有超过 5k 的 star、是一个值得关注的开源项目。
如何使用 Superfile
通过下面命令快速安装(支持 MacOs 和 linux):
bash -c "$(wget -qO- https://superfile.netlify.app/install.sh)"
// 或者
bash -c "$(curl -sLo- https://superfile.netlify.app/install.sh)"
// windows
powershell -ExecutionPolicy Bypass -Command "Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://superfile.netlify.app/install.ps1'))"
// homebrew
brew install superfile
当然,开发者还可以使用以下步骤自行构建源代码:
git clone https://github.com/yorukot/superfile.git --depth=1
// 首先克隆仓库
cd superfile
./build.sh
// cd 到指定目录并 build
接着将二进制文件添加到 $PATH,例如 /usr/local/bin 中:
sudo mv ./bin/spf /usr/local/bin
目前 Superfile 支持 Linux、 MacOS、 Windows (Not fully supported yet) 等众多平台。同时,Superfile 还支持众多插件和主题,比如下面常见的主题配置:
- Blood
- Catppuccin
- Catppuccin Frappe
- Catppuccin Latte
- Poimandres 等 20 多种主题
主题配置在 MacOs 上保存在~/Library/Application Support/superfile/theme 目录中,而在 Windows 平台则在 %LOCALAPPDATA%/superfile/theme 目录上。
更多关于 Superfile 的用法和示例可以参考文末资料,本文不再过多展开。
参考资料
https://github.com/yorukot/superfile
https://superfile.netlify.app/configure/config-file-path/
https://superfile.netlify.app/list/theme-list/
https://superfile.netlify.app/
https://linuxtldr.com/installing-superfile/
https://rs1.es/tutorials/2022/10/20/joshuto-file-manager.html
本文暂时没有评论,来添加一个吧(●'◡'●)