Add installation script for the ~/.dotfiles bare repo
This commit is contained in:
parent
9c4ea2ecfe
commit
bca227ff27
2 changed files with 79 additions and 0 deletions
22
README.md
22
README.md
|
|
@ -1,3 +1,25 @@
|
|||
# Dotfiles
|
||||
|
||||
This repository contains useful (config) files that I use on my machines.
|
||||
|
||||
|
||||
## Initialization
|
||||
|
||||
On a freshly set up machine, run:
|
||||
|
||||
```bash
|
||||
curl https://gitlab.webartifex.biz/alexander/dotfiles/-/raw/main/.config/shell/init_dotfiles.sh \
|
||||
> /tmp/init_dotfiles.sh \
|
||||
&& source /tmp/init_dotfiles.sh \
|
||||
&& rm /tmp/init_dotfiles.sh
|
||||
```
|
||||
|
||||
This gives you a local copy of the latest version of this repository
|
||||
(located in `~/.dotfiles`)
|
||||
and initializes all the dotfiles provided here on your system.
|
||||
Furthermore, `zsh` is set up with [`oh-my-zsh`](https://ohmyz.sh/) and `zplug`.
|
||||
|
||||
**Note**: Log out and in again so that `bash` and `zsh` run as *login* shells.
|
||||
Otherwise, `~/.profile` is probably *not* sourced.
|
||||
|
||||
Don't worry: Your current dotfiles are backed up in the `~/.dotfiles.bak` folder!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue