Coder Social home page Coder Social logo

bashfinder's Introduction

Bash Finder

Control the Finder from the Terminal

Features

Changing directory in the Terminal opens the same directory in the Finder

Change the Finder window view from the Terminal (column, list, icon views)

Case insensitve, tab for menu completion, shift tab to expand bash aliases

Open a Terminal window to the current Finder window

Works with the Mac OSX Terminal and iTerm2

Install

1 - Download the git repo to your desktop, and then move the contents to your home directory

git clone git://github.com/NapoleonWils0n/bashfinder.git ~/Desktop/bashfinder
mv .bash_aliases ~/.bash_aliases
mv .bash_macosx ~/.bash_macosx
mv .bash_profile ~/.bash_profile
mv .inputrc ~/.inputrc
mv .git ~/.git

If you already have a bash profile you can add the code from the project into your existing bash profile.

2 - Download and install Bash completion (Required)
Download: bash-completion

Change directory to the bash-completion directory
Move bash_completion to /etc/bash_completion, needs admin permissions

cd bash-completion
sudo mv bash_completion /etc/bash_completion

3 - Download and install Git completion bash (Optional)
Download: git-completion.bash

Move git-completion.bash to ~/.git-completion.bash

mv git-completion.bash ~/.git-completion.bash

4 - reload your .bash_profile, and then restart the Terminal

source ~/.bash_profile

Commmands

Type cd and then a directory name
eg: cd Desktop, will change the Finder window to the Desktop

cd

cdff will change the terminal directory to current directory open in the Finder

cdff

Change the Finder window to column view

column

Change the Finder window to list view

list

Change the Finder window to icon view

icon

Press tab for menu completion

tab

Expand bash aliases by pressing shift tab to show the aliased command, defined in .inputrc

shift tab

bashfinder's People

Contributors

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