Welcome, Guest. Please login or register.

Author Topic: Autostart alias script at boot  (Read 1670 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline jedcooperTopic starter

  • Jr. Member
  • **
  • Join Date: Oct 2009
  • Posts: 51
    • Show all replies
Autostart alias script at boot
« on: September 24, 2012, 08:41:51 AM »
i want to set custom aliases mainly used in shell to make things easier.

sample script S:Aliases
Code: [Select]
alias cd.. "cd /"
alias ls "ls -l"
etc.

problem now is it doesn't set the aliases, neither running the script from user-startup/startup-sequence, nor out of SYS:WBStartup (OS3.1).

what now?
A4000D A3640 CV64 22MB RAM 14GB HDD DVD-RAM SCSI/IDE Connexion (A2065) LAN Ext. FliFi/SD
A1200D Apollo 1230 68030@25MHz 6/10MB RAM 4GB HDD PCMCIA (CNET) LAN
3xA500 3x+512KB KickROMs 1.2/1.3/2.0 "Sidecars": 50MB SCSI HDD, 8MB RAM

 

Offline jedcooperTopic starter

  • Jr. Member
  • **
  • Join Date: Oct 2009
  • Posts: 51
    • Show all replies
Re: Autostart alias script at boot
« Reply #1 on: September 24, 2012, 09:20:02 AM »
Quote from: smf;709191
edit s:shell-startup :)

yeah solved this way.
BUT: i only have the aliases and path settings in current shell (ok, every new shell with s:shell-startup). but how can i make aliases and path information make _globally_ available? so it's available without starting a shell. and w/o using startup-sequence?

the startup-sequence sets some paths. is the loadwb (workbench) and any other started shell etc. depending on that, so the wb is a shell command/status/process? but the last command is endcli >NIL:
weird... :-/
A4000D A3640 CV64 22MB RAM 14GB HDD DVD-RAM SCSI/IDE Connexion (A2065) LAN Ext. FliFi/SD
A1200D Apollo 1230 68030@25MHz 6/10MB RAM 4GB HDD PCMCIA (CNET) LAN
3xA500 3x+512KB KickROMs 1.2/1.3/2.0 "Sidecars": 50MB SCSI HDD, 8MB RAM