I am looking for some assistance with openVMS.
The default prompt under VMS is $
I want to update this to reflect the current working directory that I am located in as I can in Unix/Linux when I change directories.
I created a file named login.com and put this into my home directory in the openVMS system and added the following code:
$ SET PROMPT='f$environment("default")'
Which should work by displaying the current directory, however it only reflects my home directory at the time of login. It is not dynamically updating as I change directories. If I run the above command in the terminal it will show the current directory.
Is there anyway to update the login.com to dynamically update the prompt each time that I change the directory?