New version of 🐧🧰, a alternative that takes first a shortcut:
bitbucket.org/OPiMedia/gocd-ba
Two workarounds to run it in , ,

#shell #bash #gocdBash #zsh #ksh #sh #cd #gocd

Last updated 3 years ago

I added -n and -q options.

-n just print target directory, without change working directory.
-q quiet, don't run ls at the end.

Examples:
$ gocd -nq ParSigmaOdd progs/
just print (even if this path doesn't exist) $HOME/data/git/current/parallel-sigma_odd-problem/progs/
$ cat $(gocd -nq ParSigmaOdd README.md)
is equivalent to run
$ cat $HOME/data/git/current/parallel-sigma_odd-problem/README.md


bitbucket.org/OPiMedia/gocd-ba

#gocdBash #gocd

Last updated 4 years ago

So the idea is to have an alternative of cd command with some usual shortcuts.

More explanations about installation, use and examples, available on the Bitbucket repository.
bitbucket.org/OPiMedia/gocd-ba

P.-S.: This is the same command that I shared 2 weeks ago. I just renamed the command from go to gocd to avoid name conflict with the go compiler.
…2/2

#gocdBash #gocd #shell

Last updated 4 years ago

💻🧰🐧 : Little command to change working directory, as traditional command, but with a NAME instead a directory, from a list of association NAME: DIRECTORY.
bitbucket.org/OPiMedia/gocd-ba

By example, if configuration file contents this line: git ~/data/git

$ gocd git
is equivalent to run
$ cd ~/data/git; ls

$ gocd git archives/library/assertopencl/
is equivalent to run
$ cd ~/data/git/archives/library/assertopencl/; ls

Both arguments are autocompleted.


1/2…

#gocdBash #shell #cd #bash #gocd

Last updated 4 years ago