December 24, 20223 yr I did some research on how to create permanent aliases, as typing "ls -l" etc. every time is getting annoying. I researched the topic and made a txt file which I referenced in the go file. However, I couldn't get this to work on startup. Is there a way to do this?
January 8, 20242 yr did you find out if it's possible? Im a bit tired of unraid having these limitations :P.
January 8, 20242 yr Author Unfortunately, I did not. Now that it's been more than a year since posting this, my guess would be to make a User Script that runs on every startup?
July 6, 20241 yr That is indeed the answer that i've seen mentioned. I came here to see if anyone had something ready-made I didn't find it, so here's what i did: Settings > User Scripts > New Script. I called it "startup-sequence.sh" to hark back to my Amiga days ♥️ #!/bin/bash # create alias each boot: echo "alias ll='ls -l'" >> /root/.bash_profile I set it to run on first array start. It simply appends that line to `.bash_profile` when the array is first started. Don't know if that's appropriate/proper. But it works I don't know anything about the `go` file and i wanted something quickly as i've been doing a lot of organising today. btw, in doing that i noticed that `v` is already aliased for `ls -lA`. But i still kept `ll` because it's pretty ubiquitous.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.