Inspired by Fardjad' dotfiles, this repository contains my no-frills dotfiles for macOS and Linux.
It comes with an automated installer script and leverages homebrew to install packages on macOS and various Linux distributions.
Config files are crafted for my own use and focus mostly on Web Development.
Dotfiles are used to customize your system. The "dotfiles" name is derived from the configuration files in Unix-like systems that start with a dot (e.g.
.bash_profile
and.gitconfig
). For normal users, this indicates these are not regular documents, and by default are hidden in directory listings. For power users, however, they are a core tool belt. -- Lars Kappert
The repository is tested on the latest version of macOS HighSierra and Manjaro and Ubuntu.
The following software packages are required to run the setup script.
Dependency | Purpose |
---|---|
git | Required for cloning this repository |
curl | Used for downloading files from the web |
bash | Required for running the installer script |
brew | Required for installing packages on macOS or Linux |
sudo | Required by the installer script to run some commands as root |
In order to install the dotfiles run the following command in a bash shell:
git clone https://github.com/arashkhavari/dotfiles.git ~/.dotfiles && ~/.dotfiles/script/setup
-
(Linux only) Check out this gist for more info on how to install homebrew on Manjaro.
-
(Linux only) Install latest version of vim with +clipboard feature enabled using your distro package manager (you can do so by running
pacman -S gvim
on Arch/Manjaro). -
(macOS only, optional) In order to set macOS defaults run the following:
[ -d ~/.dotfiles ] && ~/.dotfiles/macos/setup-macos.sh || >&2 echo 'You must clone the repository first!'
- (macOS only, optional) Configure iTerm2 to load preferences from
~/.dotfiles/macos/iterm2
directory.
Creative Commons Attribution-NonCommercial 4.0 International License.