Code Monkey home page Code Monkey logo

focus's Introduction

focus - Status DEAD (Death Notice)

The answer to "What and where was I?" for terminal users. Just type focus

####Quickly Remember and switch between recent projects.

focus is an app to maintain recent project directory paths with minimal effort. (WHAT!?)

For those of us who work on a new project every week, you can keep your latest X projects in a focus group, and switch among them with this single command.

Example

Go to your directory of your latest project

$~: cd Projects/Client/resources/web/

Use focus to set this directory

$~/Projects/Client/resources/web/: focus set

Next time you load up a terminal, return with ease

$~: focus
$~/Projects/Client/resources/web/: 

*Also, cycle backward through previous focus paths with the same exact command

 $~/Projects/Client/resources/web/: focus   
 $~/Projects/PreviousProject/ios/ipad/app:      

No more need to remember each project's structure and location. Simply return!

DISCLAIMER

Yes, you can do this with system's pushd and popd, but I've honestly found their workflow annoying (changing dir on pushd, removing on use of popd).
Additionally, a stack is generally annoying to clean/order/adjust. Focus is meant to keep things clear.

DEATH NOTICE

This project can't come to be, since all ruby scripts are a child process, and I can't seem to figure out how to change the directory for the user (the parent process) All blogs/docs/help forums say it's not possible.

Code will remain here, because it's a nearly complete Thor application (minus usefulness).

focus's People

Contributors

gantman avatar

Watchers

 avatar  avatar  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.