This repository contains my personal configuration files (dotfiles) for macOS and Linux. These dotfiles help to set up a consistent development environment across different machines. You can use these dotfiles as a starting point for your own configuration. Please check the files and modify them as needed before running the installation script.
Do not execute the installation script without understanding what it does! No seriously, just don't!
To install the dotfiles, follow these steps:
-
Fork the repository to your GitHub account.
-
Clone the repository:
git clone https://github.com/yourusername/dotfiles.git cd dotfiles
-
Run the installation script:
./setup.sh
If you only want to create symlinks, you can run the following script:
./symlink.sh
You can run unset.sh to remove the created symlinks in your home directory.
./unset.sh
- Bash: Custom bash prompt, aliases, and functions.
- Git: Global git configuration and aliases.
- Vim: Vim configuration with plugins.
- Tmux: Tmux configuration with plugins.
- macOS: System preferences and applications.
- Brewfile: List of applications to install with Homebrew.
For custom configurations, you can create a .extra
file in your home directory. This file will be sourced by the .bashrc
file.
touch ~/.extra
A sample .extra
file:
# .gitconfig
GIT_AUTHOR_NAME='John Doe'
export GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
git config --global user.name "$GIT_AUTHOR_NAME"
GIT_AUTHOR_EMAIL='[email protected]'
export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"
git config --global user.email "$GIT_AUTHOR_EMAIL"
GH_USER='john-doe'
git config --global github.user "$GH_USER"
After installation, the configuration files will be symlinked to your home directory.
Feel free to submit issues or pull requests if you have any improvements or suggestions.
This project is licensed under the MIT License.