Text Replacement in Terminal
Hi,
I was wondering if there is a way to substitute some text inside a command in the terminal. I don't think that to save an alias solves the problem because I think it is only for entire commands.
For example, I'd like to save "Music/GarageBand" as "gb" and then be able to write in terminal "cd gb/Project1" to directly go to the directory Music/GarageBand/Project1.
Thanks
MacBook Pro 16″, macOS 12.3