susi / dog

DOG is a DOS SHELL (command interpreter)
GNU General Public License v2.0
9 stars 2 forks source link

PP.DOG - Print and/or set the prompt #10

Open susi opened 1 week ago

susi commented 1 week ago

DOG doesn't have a command to set or display the prompt.

You can easily do this with: SE PROMPT $p$g$_ and EH %PROMPT.

The request here is to create a DOG file called PP.DOG which checks for number of arguments and if it's 0 then it should display the prompt, else it set prompt to the value of the first argument.

susi commented 2 days ago

Fixed in ae74be72481f2d40b65dd5dfd596d9eb01fdc493