random scripts I use
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
228 B

#!/usr/bin/env fish
function build-hosts -d 'Builds /etc/hosts'
cd $_agw_dir_src/hosts
git pull
sudo sh -c "cat $_agw_dir_rc/network/hosts > /etc/hosts"
sudo sh -c "cat $_agw_dir_src/hosts/hosts >> /etc/hosts"
end
## EOF