https://github.com/marcelcoding/dotfiles
This is a collection of dotfiles that I personally use.
https://github.com/marcelcoding/dotfiles
Last synced: 6 months ago
JSON representation
This is a collection of dotfiles that I personally use.
- Host: GitHub
- URL: https://github.com/marcelcoding/dotfiles
- Owner: MarcelCoding
- License: agpl-3.0
- Created: 2021-03-29T08:46:15.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-10T12:53:05.000Z (over 4 years ago)
- Last Synced: 2025-02-08T04:46:47.821Z (8 months ago)
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotfiles
This is a collection of dotfiles that I personally use.
## Installation
### Base
To set up most of it, you just need to run this script.
```bash
git clone https://github.com/MarcelCoding/dotfiles.git ~/dotfiles && sh ~/dotfiles/install.sh
# or
git clone git@github.com:MarcelCoding/dotfiles.git ~/dotfiles && sh ~/dotfiles/install.sh
```
**Please review every script from the Internet before executing it!**Some other steps you have to do manually, e.g. `bashrc`.
### bashrc
Replace the shell style with the following:
```bash
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]: [\[\033[01;34m\]\w\[\033[00m\]] \$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h: [\w] \$ '
fi
```## Upgrading
To upgrade, you just need to pull all the changes from git and run the installation script again.
```bash
sh -c "cd ~/dotfiles && git pull && sh install.sh"
```You will have to perform all manual settings again. If they have not changed, you do not need to do them again.