• MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Posts: 456 from 2003/7/26
    From: Wroclaw/Poland
    I wanted to add aliasses which will be available after reboot the system.
    In MOSSYS:S exists file shell-startup where we can read:

    Code:
    ;
    ; MorphOS shell-startup
    ;
    ; This script is executed on every new shell invocation.
    ; Do *NOT* modify this file. If you want to change something,
    ; copy this file to S: and make the changes there.
    ;
    ; $VER: shell-startup 1.3
    ;

    Prompt "%S> "
    set _pchar "|"
    set _mchar "&&"
    alias flow "run DETACH sys:Applications/FlowStudio/FlowStudio"


    Ok, I copied the shell-startup file to SYS:S/, added my aliasses below "flow" alias. Everything works well.

    However I am not sure if this is good solution. If in a future a new version of the MorphOS add something to MOSSYS:S/shell-startup, it won't work in my system because MOSSYS:S/shell-startup is ignored if SYS:S/shell-startup file exists (I checked this).

    I am thinking... Is it possible to keep executing original shell-startup before user's shell-startup?

    Or maybe better solution is just add my aliasses to SYS:S/user-startup?

    What do you think?
    Which solution is the most consistent with the MorphOS guidelines?
  • »08.04.23 - 18:22
    Profile Visit Website