Skip to content

Luanroc/go_anywhere

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go_anywhere

Linux多服务器多项目下,迅速切换目录小工具

####1.修改.local.txt.examplelocal.txt

mv .local.txt.example local.txt

####2.修改.servers.txt.exampleservers.txt

mv .servers.txt.example servers.txt

####3.配置软链接(别名),示例如下:

alias go="sh ~/work/ztcbin/towhere.sh"
alias lc="source ~/work/ztcbin/tolocal.sh"

####4.刷新环境变量,使其立即生效

sh ~/.bash_profile

####5.修改tolocal.sh中line17为自己电脑路径 ####6.修改towhere.sh中line7为自己电脑路径

####7.命令效果图

$ go

go_anywhere

About

Linux多服务器多项目下,迅速切换目录小工具

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%