This repository contains my personal configuration files for various cli-tools and applications I use on my Mac.
- Clone this repository to your home directory using the following command:
Use Git or checkout with SVN using the web URL.
git clone https://github.com/YassineGherbi/dotfiles.git ~/.dotfiles
Use a password-protected SSH key.
git clone [email protected]:YassineGherbi/dotfiles.git ~/.dotfiles
Work fast with our official CLI. [https://cli.github.com/](Learn more).
gh repo clone YassineGherbi/dotfiles ~/.dotfiles
- Install Stow if you haven't already:
brew install stow`
sudo apt-get install stow
sudo dnf install stow
sudo pacman -S stow
- Change to the
~/.dotfiles
directory and run the following command to create symlinks for all the configuration files:
cd ~/.dotfiles
stow .
- Install homebrew if you haven't already:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Run the boostrap script to install all the necessary packages
./bootstrap/bootstrap.sh
The Brewfile
contains a list of homebrew packages and Mac App Store apps I use
on my Mac. If you don't want to install a certain package or app, you can simply
remove it from the Brewfile
.
If you want to install a new package or app, you can add it to the Brewfile
and run brew bundle install
again.
To install Mac App Store apps, you will need to sign in to the Mac App Store
using the mas
command-line tool.
Once you have signed in, you can install Mac App Store apps using
the following command:
mas install APP_ID
Replace APP_ID
with the ID of the app you want to install.
You can find the ID by searching for the app in the Mac App Store and looking at
the URL. The ID is the number that appears after id
.
general/glow.yml
: This file contains the configuration on how to render your markdown files using glow.
To run glow
with this configuration, run the following command:
glow --config=~/dotfiles/general/glow.yml README.md
the glow
alias already does this for you, so you can just run glow README.md
This project is licensed under the MIT License. See the https://opensource.org/license/mit/ file for details.
Some configuration files are based on or inspired by other dotfiles repositories:
- Wincent's dotfiles for awesome VIM content and inspiration for a great Mac based workflow
- The Primeagen's dotfiles Don't ask, just watch.