Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: kosciusko51

Just use Alias.

alias proj=’cd /home/username/projects/myapp’

Also works in Microsoft PowerShell:

function proj { Set-Location “C:\Users\Dave\Projects\Long\Path\To\My\Code” }


26 posted on 12/12/2025 7:16:58 AM PST by Alas Babylon! (They don't kill you because you're a Nazi, they call you a Nazi so they can kill you.--CFW)
[ Post Reply | Private Reply | To 4 | View Replies ]


To: Alas Babylon!

Im familiar with alias from my Unix days.

In the apps I’m thinking about, the directory changes based on the project and simulations I’m working on.

I do have *.sh files that are easily updated when needed.

Again, it all depends on the need whether I use terminal or GUI.


27 posted on 12/12/2025 7:22:52 AM PST by kosciusko51
[ Post Reply | Private Reply | To 26 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson