Skip to content
forked from jbtule/cdto

Finder Toolbar app to open the current directory in the Terminal

License

Notifications You must be signed in to change notification settings

twelvelane/cdto

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cd to... Latest Release

Finder Toolbar app to open the current directory in the Terminal.

  • It's written in objective-c, and uses the scripting bridge so it's fast.
  • It's also shell agnostic. Works equally well when your shell is bash or fish or zsh.

By Jay Tuley https://github.com/jbtule/cdto

Usage:

Download Latest cdto.zip

To install "cd to ....app" copy to your Applications folder, and then from the applications folder ⌘ drag it into the Finder toolbar or drag from another finder window to toolbar being customized.

To use, just click on the new button and instantly opens a new terminal window.

Settings

To turn on feature that identifies automatically opened Terminal windows, and closes them when using cd to.

defaults write name.tuley.jay.cd-to cdto-close-default-window -bool true

To change the window scheme for Terminal Windows from default.

Eg. if you wanted cd to windows to be "Red Sands"

defaults write name.tuley.jay.cd-to cdto-new-window-setting -string "Red Sands"

Changes:

Version 3.1

  • Restored name to "cd to.app"
  • bug fix 3.0 introduced bug for opening windows without selection
  • Faster
  • Fix Regression: Hide icon in dock
  • if package is selected, cd parent directory, if in package cd own directory
  • Less entitlements
  • Setting to enable feature that closes extra opened windows
  • Setting to enable choosing a different terminal theme for opened windows

Version 3.0

  • terminal app only supported, no plugins
  • rewritten to only use apple events
  • Hardened, and Notarized
  • works on Mojave (and hopefully Catalina)

Version 2.6

  • Fixed bug where get info window interferes
  • works on selected folder again
  • iTerm 2 plugin update

Version 2.5

  • Lion Version
  • Use terminal open apple event
  • works with tcsh as well as bash
  • New Icons

Version 2.3

  • Snow Leopard Version

Version 2.2

  • Clear Scroll-back on Terminal plugin (Thanks to Marc Liyanage for the original tip)
  • Fixed issues with special characters in file path bug that existed for Terminal and iTerm plugin
  • iTerm plugin will try to avoid opening two windows on iTerm launch
  • Leopard icon

Version 2.1.1

  • Fixed bug involving apostrophes in path
  • PathFinder plugin (Finder->Pathfinder) contributed by Brian Koponen

Version 2.1

  • Plugin archtexture allowing support for other terminals
  • Default plugins for iTerm & X11/xterm
  • Terminal plugin will try to avoid opening two windows on terminal.app's launch

Version 2.0 (2005)

  • Ported to objective-c using appscript, boosting launch & execution speed
  • properly resolves aliases
  • no longer shows icon in dock on launch

Version 1.0 (2003)

  • targeted Panther OS X 10.3
  • was applescript

Pre 1.0 (2001) Really old applescript

备注操作中文文档

如何在mac任意目录快速打开终端并定位到当前目录

  1. 请先移步上面 down zip 下载压缩文件到本地

  2. 请打开访达,到应用程序 ==> 把解压的文件拖拽进去

  3. 这时候你可以command + n 打开一个新的访达窗口

  4. 在工具栏处,请右击鼠标 选择 自定义工具栏

  5. 在自定义页面 把在 应用程序/cdto_2_6/terminal/cd to 应用程序 拖拽到 自定义工具栏的最后处

  6. 这样你的cd to 就安装好了

  7. 打开一个访达文件 点击cdto的图标 就会自动打开一个当前文件夹的终端

About

Finder Toolbar app to open the current directory in the Terminal

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 100.0%