GithubHelp home page GithubHelp logo

fs-make-simple / fcd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from weezel/fcd

0.0 2.0 0.0 41 KB

Fast Change Directory

License: ISC License

Makefile 5.91% C 90.46% Shell 3.64%
folder search

fcd's Introduction

Fast change directory

TL;DR

This slick tool saves you from typing absolute directory paths and can do spellchecking against the given name.

Motivation

If you are like me and operate mostly through terminal, this tool might come handy. A big amount of time is spend on navigating in a directory structure jungle. Since most of the time I wander around same directories, it would be neat to have a way to change directory without typing the absolute path. Moreover, I was lacking a small hack project so Fast CD was born.

Purpose of the program is to deliver a fast way to navigate trough Unix directory structure. The weight is in frequently visited directories so that those can be easily accessed.

Usage

Find directory that has test in its name. Since there can be many search results we will like to choose which one was intended:

fcd -a test

TODO

  • Write SIGWINCH handler

  • Replace %q -> %Q

  • Open as readonly when reading

  • Implement basic functionality

  • Separate databases for /usr/, /home/, and /var/ and custom directory

  • Functions to handle add/remove of a dir

  • Favourites / Frequently visited / Tags

  • Spellcheck (needs improvements though)

  • Implement directory walk

  • Implement getopt functionality

  • Show current item number / total items / (MAX_ITEMS)

FUTURE IMPROVEMENTS

Things I might consider at some point.

  • UTF8 support

  • Support for configuration file?

  • Use file descriptors to pass data around?

fcd's People

Contributors

weezel avatar zvezdochiot avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.