baskoro/dotfiles
1
0
Fork
You've already forked dotfiles
0
Personal configs and dotfiles.
  • Shell 100%
2025年12月14日 17:17:35 +07:00
.config Update alacritty config to match version 0.16.1 2025年12月14日 07:18:52 +07:00
bin Remove mnt-personal.command 2025年07月24日 12:58:20 +07:00
.bashrc Add some paths. Need to generalize somewhere. 2025年12月14日 07:26:45 +07:00
.custom Fix scripts from ~/bin not loaded. 2025年05月23日 01:52:18 +07:00
.gitignore Fix .DS_Store for gitignore 2025年12月14日 17:17:35 +07:00
.hushlogin Disable login message using .hushlogin 2025年02月22日 03:05:01 +07:00
.p10k.zsh p10k: configure theme 2024年10月19日 10:38:47 +07:00
.shell_aliases Add artisan command to alias 2025年07月10日 04:24:56 +07:00
.stow-local-ignore New installation script 2025年06月10日 21:54:49 +07:00
.zshrc Add some paths. Need to generalize somewhere. 2025年12月14日 07:26:45 +07:00
install Fix stowing install script 2025年06月11日 09:37:19 +07:00
README.md Update README.md 2025年06月11日 09:07:32 +07:00

dotfiles

dotfiles configuration for my Unix-based OS. It includes some configs, e.g .zshrc, .bashrc, .shell_aliases, and more.

This repo is meant to build a portable and reproducible development environments.

Usage

Note

Using this guide may replace all your current configurations. I recommend you to create backups for those configs.

Warning

I am not responsible for any loss of your configuration files.

To use these configs, you first need to clone this repository in your $HOME (or ~) directory.

git clone https://github.com/risangbaskoro/dotfiles.git ~/dotfiles
# or
git clone https://codeberg.org/baskoro/dotfiles.git ~/dotfiles

Then follow through the installation process below:

Install Using the Installation Script

I have provided an installation script, named install. Here's a summary of what it does:

  • If GNU Stow is not installed, try to install GNU Stow using your system's package manager.
  • Using GNU Stow, create symlinks for all the files inside the dotfiles directory in the $HOME directory.

To use the installation script, simply call it:

chmod +x ~/dotfiles/install
bash ~/dotfiles/install

Note

If the system already has some configuration files that the dotfiles has, it will abort the stow process. Stow is already installed by then.

For each warning that stow throws, create a backup for those files.

For example, if .bashrc already exists in your $HOME directory, you can rename it to .bashrc.backup using the mv command: mv ~/.bashrc ~/.bashrc.backup

See: https://www.gnu.org/software/stow/manual/stow.html#Conflicts

Done. Your shell, terminal, and all other configs are there.

Install Manually Using GNU Stow

Then, you will need to have a CLI tool called stow. stow is a symlink manager which takes these dotfiles from your $HOME directory and makes them appear to be installed in the same place. In other words, .zshrc could be a symlink to ~/dotfiles/.zshrc.

You can install stow via your favorite package manager.

# For macOS using Homebrew
brew install stow
# For Arch Linux using pacman
pacman -S stow

After that, you can start create symlinks for all the config files:

# From $HOME directory
cd ~
stow dotfiles
# or from dotfiles directory
cd ~/dotfiles
stow .

Voila! You can start right away!

License

This repository does not have a license. Use it freely.