Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 384
    • Issues 384
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #844

Closed
Open
Created May 18, 2018 by Admin@OpenFOAM-adminMaintainer

Convenient user aliases and foamPwd

I have been discussing with Mark Olesen that it would be convenient with some user aliases to move to the user directory, more than the 'run' alias. I often want to go to $WM_PROJECT_USER_DIR/{applications,src} and $WM_PROJECT_USER_DIR/applications/{solvers,utilities}. I have also suggested a foamPwd command, which is the same as pwd, but gives an output with OpenFOAM environment variables. It may be in particular be convenient for those who are learning to use the environment variables. I use it for teaching, where my prompt is set using such a command. Then the prompt gets much shorter, and the students understand that the environment variables are useful when moving around in the directories.

Assignee
Assign to
Time tracking