https://github.com/nafigator/dotfiles
:wrench: My dotfiles.
https://github.com/nafigator/dotfiles
bashrc bashrc-configs dotfiles
Last synced: about 1 year ago
JSON representation
:wrench: My dotfiles.
- Host: GitHub
- URL: https://github.com/nafigator/dotfiles
- Owner: nafigator
- License: mit
- Created: 2015-09-13T16:09:11.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-04-13T19:42:39.000Z (about 1 year ago)
- Last Synced: 2025-04-14T21:12:17.098Z (about 1 year ago)
- Topics: bashrc, bashrc-configs, dotfiles
- Language: Shell
- Homepage:
- Size: 225 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![GitHub license][License img]][License src] [![Conventional Commits][Conventional commits badge]][Conventional commits src]
# dotfiles
My .files optimized for personal needs
###### WARNING: There is no guarantee that this will work in your environment
## Install
Install [GNU stow] utility:
#### Linux Debian:
$ sudo apt-get install stow
#### OSX:
$ brew install stow
#### OpenBSD:
$ sudo pkg_add stow
Clone this repo into ~/.dotfiles folder:
$ mkdir ~/.dotfiles
$ cd ~/.dotfiles
$ git clone https://github.com/nafigator/dotfiles.git .
Backup your previous dotfiles:
$ cd && mkdir .dotfiles.bkp
$ mv .profile .bashrc .bash_aliases .bash_logout .gitconfig .gitignore .dotfiles.bkp
Then use stow utility to create symlinks:
$ stow bash
$ stow git
$ . ~/.profile
#### SSH section workflow:
###### Save config changes
cd ssh/.ssh
# gpg --output config.gpg --encrypt --recipient config
gpg -o config.gpg -e -r config
git commit && git push
###### Load config changes
git pull
cd ssh/.ssh
# gpg --output config --decrypt config.gpg
gpg -o config -d config.gpg
#### MC section workflow:
###### Ignore local ini changes
git update-index --assume-unchanged mc/.config/mc/ini
[GNU stow]: https://www.gnu.org/software/stow
[License img]: https://img.shields.io/github/license/nafigator/dotfiles?color=teal
[License src]: https://tldrlegal.com/license/mit-license
[Conventional commits src]: https://conventionalcommits.org
[Conventional commits badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-teal.svg