add hosts file
parent
63a6edb366
commit
a57fe7898f
|
@ -0,0 +1,8 @@
|
|||
127.0.0.1 localhost rain.local rain heavenisin.space mu.heavenisin.space
|
||||
::1 localhost rain.local rain heavenisin.space mu.heavenisin.space
|
||||
|
||||
192.168.1.7 Alisons-Mac-mini.local
|
||||
fe80::ccd:17e6:bdfb:c61b%enp1s0 Alisons-Mac-mini.local
|
||||
|
||||
192.168.1.1 router.local
|
||||
fe80::daa7:56ff:fe95:94b2%enp1s0 router.local
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
cd ~/src/hosts
|
||||
git pull
|
||||
|
||||
sudo sh -c "cat $HOME/src/git-scripts/applications/hosts > /etc/hosts"
|
||||
sudo sh -c "cat $HOME/src/hosts/hosts >> /etc/hosts"
|
||||
|
||||
## EOF
|
Loading…
Reference in New Issue