This repository contains my personal dotfiles for both MacOS and Linux. Further documentation on Linux-specific setup is available in linked files.
Clone this repository into ~/.dotfiles
:
git clone [email protected]:phantomesse/dotfiles.git ~/.dotfiles
This dotfiles setup uses GNU Stow to install the dotfiles in the correct locations and to install only the dotfiles required for each operating system.
MacOS (install via Homebrew):
brew install stow
Linux:
sudo apt-get install stow
When running stow
commands, ensure that you are in the .dotfiles directory:
cd ~/.dotfiles
For both MacOS and Linux, install the shared dotfiles:
stow shared
For Linux-specific dotfiles:
stow linux
I use zsh as my shell instead of the default bash shell
since it is faster and provides more modern configuration. I'm using
zplug as the plugin manager. It should install
automagically when sourcing .zshrc
.
To improve the terminal experience, install the following:
- tmux - a terminal multiplexer that allows split screens and multiple panes within the terminal
- colorls - adds icons to
ls
- To get the icons to show up, make sure that a font from nerd-fonts is installed
- If
gem
installingcolorls
doesn't work, try installingruby-dev
:sudo apt-get install ruby-dev
- vim-plug - plugin manager for vim
- Install plugins by opening
vim
and running:PlugInstall
- Install plugins by opening
Aliases such as the ls
alias that uses lolcat
and colorls
are stored in
~/bin
. Make sure that they are executable by doing:
chmod a+x ~/bin/ls
On my personal Mac, I use Operator Mono as my monospace font.
On machines that do not have an Operator Mono license, I use Input Mono with the customized settings ready-to-download from here:
https://input.fontbureau.com/preview/?size=14&language=css&theme=solarized-dark&family=InputSans&width=300&weight=400&line-height=1.4&a=ss&g=ss&i=serifs_round&l=serifs_round&zero=0&asterisk=height&braces=0&preset=default&customize=please
For my Linux machines, I use San Francisco as the window font (e.g. in the toolbar and GUIs). It can be downloaded from here:
https://github.com/AppleDesignResources/SanFranciscoFont
I also use the Noto Color Emoji font to have colored emojis on my Linux machines. It can be downloaded from here:
https://github.com/googlefonts/noto-emoji
To install fonts on Linux, download the font, put it in the ~/.fonts
folder,
and then run:
sudo fc-cache -fv
https://technixleo.com/install-and-configure-alacritty-terminal-on-windows/