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.
34 lines
748 B
34 lines
748 B
# my dotfiles
|
|
|
|
## Installing the "stow" program:
|
|
# On Debian/Ubuntu
|
|
sudo apt install stow
|
|
|
|
# On Fedora/RHEL/CentOS
|
|
sudo dnf install stow
|
|
|
|
# On Arch Linux
|
|
sudo pacman -S stow
|
|
|
|
## Installing dotfiles
|
|
```
|
|
# Create system wide stow directory
|
|
$ sudo mkdir -p /usr/local/stow
|
|
|
|
# Pull Git Repo
|
|
$ mkdir ~/stow
|
|
$ cd ~/stow
|
|
$ git clone https://git.mysnippetsofcode.com/bobs/dotfiles.git
|
|
|
|
# Symlink your dot files to make updates easy
|
|
$ sudo ln -s ~/stow/dotfiles /usr/local/stow/dotfiles
|
|
|
|
# Stow for your user and root accounts
|
|
# Dry Run (verbose) on Home folder
|
|
$ sudo stow -d /usr/local/stow -nv -t ~ dotfiles
|
|
# Do it for real!
|
|
$ sudo stow -d /usr/local/stow -t ~ dotfiles
|
|
|
|
# For root user, if desired!
|
|
$ sudo stow -d /usr/local/stow -t /root dotfiles
|
|
```
|
|
|