can I have 2 magicrc files? one from the PDK and a...
# magic
m
can I have 2 magicrc files? one from the PDK and another with my own prefs?
I could copy the one from the pdk and edit it, but then if I update my PDK the rc file is out of date
t
Two ways: (1) you can have a home directory
.magicrc
file and it will get read along with (prior to, I think) any PDK startup script. (2) You can make your own
.magicrc
file and in that script, source the PDK startup script.
a
I have a custom magicrc just with this line source $env(PDK_ROOT)/$env(PDK)/libs.tech/magic/$env(PDK).magicrc
m
thanks both!