or go to full-text search page →

Search

Search IconIcon to open search

Dotfiles

Last updatedUpdated: by Simon Späti · CreatedCreated: · 2 min read · growing Note status Growing. Worked on quite a bit, still rough. Expect bullets, gaps and views that update. Estimated from edit history · 7 sessions over 2 years · 329 words · How my notes grow Recent changes 8 weeks ago +1 / −1 words 7 months ago +72 / −2 words 8 months ago +0 / −2 words 2 years ago +10 / −4 words 3 years ago +2 / −20 words 3 years ago +23 / −0 words 3 years ago published · 184 words

Dotfiles are important files that will play an integral role in your career as a software developer. They are configuration files for various programs that help those programs manage their functionality.

They are called dotfiles, as these are starting with . and are hidden files on Mac and linux by default. E.g., .config/nvim/ or .zshrc, which are located in the home folder $HOME or simply ~.

I have mine on dotfiles.ssp.sh, and someday, I’d like to automate the installation of my Macbook, with all my dotfiles. See more on dotfiles - automatic computer laptop setup (Macbook).

# Examples of common dotfiles

Some common dotfiles that you may have heard of or used before are:

  • If you use the Bash shell, you might have a .bash_profile and .bashrc file. Both files contain scripts that load each time you start a new terminal session and configure the shell.
  • If you use the Zsh shell, which is the new default for MacOS, you would have (or would’ve created) a .zshrc file that configures and customizes the shell.
  • If you use the command line code editor Vim, you would store its configurations in a .vimrc file.
  • After setting up and configuring Git on your local machine, you would have a .gitconfig file, which would contain all your information and settings.
  • Many programs, instead of storing their configurations in your home directory, instead store them in the hidden .config directory (folder) on your system.

# Others Dotfiles


Origin:
References: dotfiles - automatic computer laptop setup (Macbook)