mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-11-27 18:13:19 +00:00
feat(scripts): add config
This commit is contained in:
8
home/bin/executable_hosts-file.sh
Normal file
8
home/bin/executable_hosts-file.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#! /bin/bash
|
||||
|
||||
if [[ $* == *-b* ]]; then
|
||||
cp /etc/hosts ~/.config/.dotfiles/hosts
|
||||
else
|
||||
sudo cp ~/.config/.dotfiles/hosts /etc/hosts
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user