←back to thread

2039 points Gadiguibou | 1 comments | | HN request time: 0s | source
Show context
apocalyptic0n3 ◴[] No.36498002[source]
`open` is one I use all the time. I love that simple command.

    alias tab='open . -a iterm'
    alias phpstorm='open -a "PhpStorm"'
    alias smerge='open -a "Sublime Merge"'
etc. I use those more than I do the Open/Recents dialogs in the respective apps.
replies(6): >>36498084 #>>36498873 #>>36499022 #>>36499642 #>>36499746 #>>36504000 #
1. Sujeto ◴[] No.36499022[source]
I made a script to open files with rofi

https://github.com/davatorium/rofi

Looks like this:

https://i.imgur.com/Hm9TGeV.jpg

In a vscode terminal I just use the alias "o" and it opens that at the correct location, then I can navigate and pick a file to open in the editor.