(gd: go to directory)一个简单的命令行目录切换工具

gd

一个简单好用的命令行目录切换工具


可以给每个目录添加一个别名,然后通过该别名快速的切换目录。

go语言编写,系统支持bash on windows, linux, mac os

命令行支持 bashzshfish

安装方法

git clone git@github.com:ocxco/gd.git
cd gd && bash ./bin/install.sh

usage

Usage: gd [command] [alias]
  add  <alias> add current directory as alias
  add! <alias> force add current directory as alias
  rm   <alias> remove an exist alias from list
  ls | list    list all of configs
  pwd          show current directory, it's useful on git bash on windows
  help         show this help content
  clear!       clear all config

gd演示

wrapper

wrapper is refer to mfaerevaag/wd-c

源码

开源代码详见Github

发表评论

电子邮件地址不会被公开。 必填项已用*标注