These are my dotfiles. Take anything you want, but at your own risk. I created this mainly for using on macOS, and I didn't test it on any *nix system.
- Mathias Bynens and his dotfiles Repo
- Lars Kappert and his awesome blog about dotfiles
My color theme is drived from One Dark for iterm, and I added more customizations to my liking. You can find it here.
To use the same color theme as mine, go to:
- iTerm2 -> Preferences -> Profiles -> Colors
- From the Color Presets, import the
.itermcolors
file and select it.
NOTE:
I consider this work still under development and there is a lot of room for improvment.
You can clone it anywhere on your machine, the bootstrap.sh
script will pull in the latest updates from github and copy the files to your home folder.
git clone https://github.com/mnsami/dotfiles.git && cd dotfiles && source bootstrap.sh
cd /path/to/dotfiles
source bootstrap.sh
If ~/.extra
exists, it will be sourced along with the other files (check .bash_profile
). You can use this to add a few custom commands without the need to fork this entire repository, or to add commands you don’t want to commit to a public repository.
My ~/.extra
file looks like this:
#!/usr/bin/env bash
# brew
export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
export MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"
# work related stuff
export NPM_TOKEN="xxxxxxxxxx"
# git
GIT_AUTHOR_NAME="Mina Nabil Sami"
GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
git config --global user.name "$GIT_AUTHOR_NAME"
GIT_AUTHOR_EMAIL="mina.nsami@gmail.com"
GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"
git config --global user.email "$GIT_AUTHOR_EMAIL"
This will do the following:
- install
brew
- install some
brew
packages that I use for everyday operation.
./brew.sh
Some of the functionality of these dotfiles depends on formulae installed by brew.sh
. If you don’t plan to run brew.sh
, you should look carefully through the script and manually install any particularly important ones.
If you have questions, suggestions or improvements you are welcome to tell me about it here
Mina Sami |