News for hackers. Stuff that matters.
Re:My next Mac might be the last by megaman821 on Monday October 24, 2022 @04:48PM (#33322510)
In my case I just wanted a button on the Finder toolbar that opens up the current folder in the default terminal.
Re:My next Mac might be the last by kitsunesoba on Monday October 24, 2022 @05:06PM (#33322670)
There's at least one Finder extension that can add such a button.

https://github.com/Ji4n1ng/OpenInTerminal

Re:My next Mac might be the last by jmbwell on Monday October 24, 2022 @04:55PM (#33322580)
I have [right-click/control-click] > Services > New Terminal at Folder

Is that standard now, or did I add it long ago and forget?

Re:My next Mac might be the last by megaman821 on Monday October 24, 2022 @05:01PM (#33322638)
That is standard now. It wasn't when a started using Path Finder. I still find it slower than just having the button in the toolbar.
Re:My next Mac might be the last by guestbest on Tuesday October 25, 2022 @01:19AM (#33326529)
I keep terminal.app in the tool bar and just drag and drop the folder on to the dock where the terminal app is
Re:My next Mac might be the last by Ancapistani on Monday October 24, 2022 @06:24PM (#33323444)
I have something that serves a similar purpose - a shell script that calls out to AppleScript to get the path of the most recently used Finder window and returns it as a string:

    #!/usr/bin/env bash
    
    ####################
    # Description: Get the path of the most recently used Finder window
    # Author: Ancapistani
    # Version: 1.0.0
    ####################
    
    osascript -e 'tell application "Finder"'\
              -e "if (${1-1} <= (count Finder windows)) then"\
              -e "get POSIX path of (target of window ${1-1} as alias)"\
              -e 'else' \
              -e 'get POSIX path of (desktop as alias)'\
              -e 'end if' \
              -e 'end tell';
I have this saved as `fpwd` in my shell.
Re:My next Mac might be the last by cute_boi on Monday October 24, 2022 @10:59PM (#33325644)
the problem with such approach is it leaves terminal item in dock. I use warp terminal and it is really annoying.
Re:My next Mac might be the last by jakecopp on Monday October 24, 2022 @07:25PM (#33324002)
You can drag the folder into the Terminal!