Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 480
    • Issues 480
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #844

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