mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-07-01 01:32:02 +00:00
Stow scripts
This commit is contained in:
8
scripts/bin/hosts-file.sh
Executable file
8
scripts/bin/hosts-file.sh
Executable 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