Skip to content

haturatu/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles


1. Check commands in .bashrc

Before installing, it's recommended to check whether the commands used in .bashrc exist on your system:

make checkcmd

This helps ensure there won’t be missing command errors after applying the configuration.


2. Backup existing configuration

Back up your current configuration files before installing:

make backup

This command backs up the following files to ~/.dotfiles_backup:

  • .bashrc
  • .bash_profile
  • .vimrc
  • .vim/ (directory)

3. Install configurations

Install both bash and vim configurations:

make install

To install only the bash configurations:

make bash

To install only the vim configurations:

make vim

4. Clean up

Remove the installed symbolic links:

make clean

Available Makefile Commands

Command Description
make all The default task. Executes install.
make install Installs both bash and vim configurations.
make bash Installs only the bash configuration (.bashrc, .bash_profile).
make vim Installs only the vim configuration (.vimrc, .vim/).
make checkcmd Checks if the commands written in .bashrc exist on the system.
make clean Removes the installed configuration files (symbolic links).
make backup Backs up existing configuration files to the ~/.dotfiles_backup directory.
make update Updates the repository to the latest version.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published