by apocalyptic0n3 · 3y ago · 0 comments
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. $ fd 's(merge|ubl)$' /Applications/Sublime*
/Applications/Sublime Merge.app/Contents/SharedSupport/bin/smerge
/Applications/Sublime Text.app/Contents/SharedSupport/bin/sublhttps://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.
alias finder='open .'But if you just open a new tab, you'll be in the same $CWD in the new tab? Am I missing some trick here?