Fish Shell 使用笔记
安装Fish Shell
brew install fish
安装Oh My Fish
curl -L https://get.oh-my.fish | fish
安装Fisher
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish
配置 autojump
clone
autojump
git clone https://github.com/wting/autojump.git
安装 autojump 至本地
~/.autojump
目录:cd autojump ./install.py
- 在fish配置中打开文件~/.config/fish/config。在编辑器中查找并添加以下行:
beginset --local AUTOJUMP_PATH $HOME/.autojump/share/autojump/autojump.fishif test -e $AUTOJUMP_PATHsource $AUTOJUMP_PATHend end
退出fish,重新开始。使用cd命令访问常用目录。你现在可以使用j命令跳转到这些目录:
exit j testDir
跳转到当前目录的子目录:
jc chid_dir
- 查看
autojump
历史记录中的条目统计信息:
j -s
- 查看
使用
finder
打开目录jo dir
配置
nvm
使用fish之后,之前配置的
nvm
就不能用了,需要在~/.config/fish/config
当中添加nvm的配 置beginset --local AUTOJUMP_PATH $HOME/.autojump/share/autojump/autojump.fishif test -e $AUTOJUMP_PATHsource $AUTOJUMP_PATHendfunction nvmbass source ~/.nvm/nvm.sh --no-use ';' nvm $argvend end
默认
shell
切换至fish
echo /usr/local/bin/fish | sudo tee -a /etc/shells chsh -s /usr/local/bin/fish
switch to fish
Fish shell 入门教程
使用版本:Autojump 22.5.1, Fish 3.0.0和Mac 10.14.2
Fish Shell 使用笔记相关推荐
- shell中竖线的作用_如何在 Linux 中安装、配置和使用 Fish Shell?
每个 Linux 管理员都可能听到过 shell 这个词.你知道什么是 shell 吗? 你知道 shell 在 Linux 中的作用是什么吗? Linux 中有多少个 shell 可用? -- Ma ...
- shell学习笔记 (2)
shell学习笔记 (2) ---china.pub.com linux shell电子书学习笔记 第2章 使用find和xargs find pathname -options [-print - ...
- fish shell 简要教程以及对bash的兼容性讨论。
本文的亮点在于两点:1. 提出了一种fish与bash兼容性的临时方案,2. 自己新建了一个属于自己的fish主题. fish的官网宣传语是 Finally, a command line shell ...
- linux+shell+func,Linux shell编程笔记总结
Linux Shell学习笔记简介 Linux系统的shell作为操作系统的外壳,为用户提供使用操作系统的接口.它是命令语言.命令解释程序及程序设计语言的统称.shell是用户和Linux内核之间的接 ...
- linux fish颜色配置,如何在 Linux 中安装、配置和使用 Fish Shell?
(给Linux爱好者加星标,提升Linux技能) 英文:Magesh Maruthamuthu,翻译:Linux中国/MK linux.cn/article-10622-1.html 每个 Linux ...
- Fish shell 入门教程
命令行是程序员的必备技能.图形界面虽然好看,解决问题还是要靠命令行. 命令行由 Shell 提供.各种命令通过 Shell,传递给操作系统的内核.学习命令行就是在学习 Shell. Shell 有好几 ...
- 打造最强终端之一:Fish shell简明教程
原文地址:https://kxcblog.com 本系列文章包括3篇,主要分享我在后端开发过程中使用终端的一些经验和心得,分享fish shell使用,使用tmux终端复用管理会话.窗口,以及vim插 ...
- mac fish shell的安装和使用教程
补充说明 -----–以下记录于 2018.06.27-----– 1.fish中文文档: https://wiki.archlinux.org/index.php/Fish_(%E7%AE%80%E ...
- Centos7安装fish shell,介绍及使用
第一步:yum安装fish shell root用户下执行命令: cd /etc/yum.repos.d/ wget http://download.opensuse.org/repositories ...
最新文章
- latex 插图解释_大O符号-只需插图和视频即可解释
- python lambda函数_python入门基础之lambda匿名函数
- Python爬虫beautifulsoup4常用的解析方法总结
- Flex与.NET互操作(七):了解FluorineFx的环境配置(远程对象、网关、通道、目的地)...
- Visitor(访问者)--对象行为型模式
- 再谈SQL Server中日志的的作用
- 如何修改默认浏览器_iPhone可以修改默认浏览器了
- (译)如何使用spritehelper和levelhelper教程:引子
- 【wpa_supplicant】 初始化
- Xuxiang Qi--Deep Learning based Semantic Labelling of 3D Point Cloud in Visual SLAM
- springboot整合任务安全
- 【ubuntu操作系统入门】系统输入法设置
- 阿里云ECS服务器配置怎么选?
- 统计指标 ---离散趋势指标
- 嵌入式硬件学习之嵌入式软件和硬件的区别
- 「水」滔天巨浪---牛客小白
- Leetcode困难之1225.报告系统状态的连续日期
- 【研发管理】全面质量管理之石川馨
- [Javascript 高级程序设计]学习心得记录3 根据对象数组的属性进行排序
- 【菜鸡读论文】Former-DFER: Dynamic Facial Expression Recognition Transformer
热门文章
- servlet html登录,Servlet实现用户登录
- java定时线程池_java 定时器线程池(ScheduledThreadPoolExecutor)的实现
- IDEA 快捷键终极大全
- 数据挖掘 点击更多 界面_8(更多)技巧,可快速改善用户界面
- powerpoint技巧_几乎每个PowerPoint都烂鸡蛋
- 高瓴投资,顶配创业团队,dora 诚招前端 / Flutter
- 17、【 商品管理模块开发】——后台商品图片的springmvc和富文本上传以及ftp文件服务器的开发...
- 深入剖析Redis系列(四) - Redis数据结构与全局命令概述
- Word 2010 制作文档结构之图标自动编号设置
- sed: -e expression #1, unknown option to `s'解决办法