Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1956762
  • 博文数量: 185
  • 博客积分: 10707
  • 博客等级: 上将
  • 技术积分: 1777
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-19 17:31
文章分类

全部博文(185)

文章存档

2014年(1)

2012年(6)

2011年(27)

2010年(13)

2009年(75)

2008年(63)

分类: LINUX

2008-11-16 16:39:48

fish shell是一款界面非常友好的shell,而且使用起来非常方便。可以在下载,我使用的是fedora9,故下载的是fish-1.23.0-0.i386.rpm。安装后fish文件存在于/usr/bin/目录下。使用chsh -s /usr/bin/fish 命令可把fish shell改变成当前用户的默认登机shell。其有很多特点,比如:

1.Standard features: history, command and file completion

2.Brand new features: command option completion, commandcompletion with short description, syntax highlighting
3.Easier to any open files: open builtincommand
4.Much simpler and consistent syntax (not POSIX compliant)Makes it easier to create shell scripts。

要进入某个文件夹可以直接写上文件夹名字,如 > home,而在bash shell下则使用# cd home。它的颜色显示也非常醒目,用用就知道了。

bash shell下,环境变量的设置一般放在~/.bash_profile~/.bashrc文件中。fish shell则存放在~/.config/fish/config.fish(~表示当前用户的home目录)文件中.比如设置路径变量,set PATH $PATH /sbin。

具体介绍和使用可参考:
    1.
    2.

阅读(2893) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~