Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/j8r/dotfiles

My Git-versioned dotfiles
https://github.com/j8r/dotfiles

dotfiles

Last synced: about 1 month ago
JSON representation

My Git-versioned dotfiles

Awesome Lists containing this project

README

        

# My personal dotfiles

Configurations used for my KDE/LXQt desktop.

Zsh framework [Zim](https://github.com/zimfw/zimfw) with the custom theme [simpla](.zim/modules/prompt/functions/prompt_simpla_setup).

## Setup

- For a vanilla installation, generate a new SSH key

`ssh-keygen -t ed25519`

Then add `cat ~/.ssh/id_ed25519.pub` to GitHub.

- Install ZIM:

https://github.com/zimfw/zimfw#installation

- Change the default shell of the user.

`chsh -s $(which zsh)`

- Clone the repository to the home directory

```sh
cd ~/
git init
git remote add origin [email protected]:j8r/dotfiles.git
git fetch
```

Restore specific files, or all if none set

`git checkout -f `

- Add the user to the sudoers

`su -c "usermod -aG sudo $USER"`

- Copy the Zsh files and set the prompt for the root user

`su -c "cp -r $HOME/.z* ~/; chsh -s $(which zsh)"`

- Logout to apply the changes to the user