Home
Sign Up
Sign In
Distributions
›
Ubuntu
›
Fedora
›
CentOS
中文资源站
›
网易开源镜像站
V2EX
›
Linux
请问在fishfish里怎样source一个文件
chaker
·
Jul 27, 2012
· 4147 views
This topic created in 5040 days ago, the information mentioned may be changed or developed.
fishfish不支持source,如何实现像bash下的source一样的效果?
source
fishfish
bash
6 replies
•
1970-01-01 08:00:00 +08:00
1
alsotang
Jul 28, 2012
我印象中官网有,而且bash下的配置文件貌似语法跟fish的还是有差别的,所以原来bash下用的配置文件可能无法直接在fish底下用。
2
chaker
OP
Jul 28, 2012
是啊,确实是不一样,所以很多很麻烦,不想看文档
3
ivenvd
Aug 11, 2012
很简单:
~ $ echo $http_proxy
~ $ cat
1.fish
set -x http_proxy 'http://127.1:8087/'
~ $ .
1.fish
~ $ echo $http_proxy
http://127.1:8087/
4
chaker
OP
Aug 11, 2012
@
ivenvd
不能source竟然还能用 . 啊,谢谢哦,呵呵,这个goagent?
5
ivenvd
Aug 21, 2012
@
chaker
嗯,低调。
6
skydiver
Aug 22, 2012
@
ivenvd
看到你这个才知道127.0.0.1可以简写成127.1
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
2928 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 32ms ·
UTC 10:12
·
PVG 18:12
·
LAX 03:12
·
JFK 06:12
♥ Do have faith in what you're doing.
❯