Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/NapoleonWils0n/bashfinder
Control the Mac Finder from the Terminal
https://github.com/NapoleonWils0n/bashfinder
Last synced: about 1 month ago
JSON representation
Control the Mac Finder from the Terminal
- Host: GitHub
- URL: https://github.com/NapoleonWils0n/bashfinder
- Owner: NapoleonWils0n
- Created: 2012-10-29T01:42:04.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-12-28T01:59:27.000Z (almost 12 years ago)
- Last Synced: 2024-08-01T16:43:47.452Z (4 months ago)
- Language: Shell
- Size: 220 KB
- Stars: 105
- Watchers: 8
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- my-awesome-github-stars - NapoleonWils0n/bashfinder - Control the Mac Finder from the Terminal (Shell)
README
# 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 ~/.gitIf 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](http://bash-completion.alioth.debian.org/ "bash-completion")Change directory to the bash-completion directory
Move ``bash_completion to /etc/bash_completion``, needs admin permissionscd bash-completion
sudo mv bash_completion /etc/bash_completion3 - Download and install Git completion bash (Optional)
Download: [git-completion.bash](https://raw.github.com/git/git/master/contrib/completion/git-completion.bash "git-completion.bash")Move ``git-completion.bash to ~/.git-completion.bash``
mv git-completion.bash ~/.git-completion.bash4 - 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 Desktopcdcdff will change the terminal directory to current directory open in the Finder
cdffChange the Finder window to column view
columnChange the Finder window to list view
listChange the Finder window to icon view
iconPress tab for menu completion
tabExpand bash aliases by pressing shift tab to show the aliased command, defined in .inputrc
shift tab