LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 708|回复: 3

pacman针对fish的自动补全文件

[复制链接]
发表于 2009-3-19 09:00:46 | 显示全部楼层 |阅读模式
见附件,已经翻译成中文了,复制到/usr/share/fish/completions/覆盖掉原有文件即可。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2009-3-19 11:23:38 | 显示全部楼层
感谢!
如果我没理解错的话
http://www.fishshell.org/
回复 支持 反对

使用道具 举报

发表于 2009-3-19 11:44:14 | 显示全部楼层
[11:31:19][arch@archlive:~]$ fish
欢迎使用fish, 友好的命令行界面
输入 help 即可知道如何使用fish!
arch@archlive ~> help
help: Help is being displayed in firefox
arch@archlive ~> exit

Goodbye
[11:32:54][arch@archlive:~]$

[11:32:54][arch@archlive:~]$ fish
arch@archlive ~> mv -
--backup  -b    (Make backup of each existing destination file)
--force  -f                  (Do not prompt before overwriting)
--help                                  (Display help and exit)
--interactive  -i                     (Prompt before overwrite)
--reply                        (Answer for overwrite questions)
--strip-trailing-slashes  (Remove trailing slashes from source)
--suffix  -S                                    (Backup suffix)
--target-directory                           (Target directory)
--update  -u                     (Do not overwrite newer files)
--verbose  -v                                    (Verbose mode)
--version                            (Display version and exit)
arch@archlive ~> pacman
pacman  (Executable, 63kB)  pacman-optimize  (Executable, 5.2kB)  
arch@archlive ~>

没有更多关于pacman的中文信息阿?


原版的:

[11:37:25][arch@archlive:~]$ fish
欢迎使用fish, 友好的命令行界面
输入 help 即可知道如何使用fish!
arch@archlive ~> pacman -
-A                       (Add a package to the system)
-F  (Upgrade a package which is already in the system)
-h         (Display syntax and help for the operation)
-Q                        (Query the package database)
-R                   (Remove packages from the system)
-S                              (Synchronize packages)
-U            (Upgrade or add a package in the system)
-V                          (Display version and exit)


是不是版主传的文件有些问题呢?

如何定制fish的命令提示符阿?
arch@archlive ~> 太简单太难看了!
还是俺的 [11:32:54][arch@archlive:~]$ 提示比较好点
回复 支持 反对

使用道具 举报

发表于 2009-3-21 21:02:22 | 显示全部楼层
...没效果
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表