DannyBen / alf

Bash Alias Generator and Manager
MIT License
96 stars 4 forks source link

Connect alf to any existing repository with an alf.conf #49

Closed dallenbaldwin closed 1 year ago

dallenbaldwin commented 1 year ago

Newbie here.

I already have a repository set up to hold all my Linux setup scripts and putting my alf.conf in there just makes sense.

However, when I use alf connect {user}/{repo} it creates a new repo inside instead of connecting the exisiting repo.

Is there a way to use alf connect with an existing repository that already has a alf.conf?

image

image

DannyBen commented 1 year ago

Well, all you need to do is write the path that contains your alf conf to a file named .alfrc in your home directory. Something like echo path/to/alf-conf/dir > ~/.alfrc

dallenbaldwin commented 1 year ago

Ah! I'll give that a try. Thank you 😊

DannyBen commented 1 year ago

I am assuming you have succeeded, if you need further help feel free to reply.