0.3.1 • Published 11 years ago

dcd v0.3.1

Weekly downloads
6
License
-
Repository
github
Last release
11 years ago

DCD.JS

DCD ported to JavaScript, as a Node.JS console app. The original can be found at https://github.com/deluan/dcd

###Yet Another Fast Change Directory based on the honorable NCD

DCD was modeled after Norton Change Directory (NCD). NCD appeared first in The Norton Utilities, Release 4, for DOS in 1987, published by Peter Norton. NCD was written by Brad Kingsbury.

This is a very old program I wrote for MS-DOS, and now I ported it to Mac OS X using FPC/Lazarus. Maybe in the near future I'll make it multi-platform.

###INSTALLATION

$ fpc dcd.pas
  • Copy it to /usr/local/bin
$ cp dcd /usr/local/bin
  • Add this to your ~/.profile:
dcd ()
{
    new_path="$(/usr/local/bin/dcd ${@})";
    case $? in
        0) echo -e "\\033[31m${new_path}\\033[0m";
           cd "${new_path}";
           ;;
        1) return
           ;;
        2) echo "dcd: directory '${@}' not found";
           echo "Try \`dcd -r\` to update db.";
           ;;
    esac
}
0.3.1

11 years ago

0.3.0

11 years ago

0.2.1

11 years ago

0.2.0

11 years ago

0.1.0

11 years ago

0.0.10-SNAPSHOT

11 years ago

0.0.10-beta

11 years ago

0.0.9

11 years ago

0.0.8

11 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago