Skip to content

Latest commit

 

History

History
85 lines (67 loc) · 2.11 KB

File metadata and controls

85 lines (67 loc) · 2.11 KB

This is a copy of Hammad's public dotfiles. Running bootstrap.sh creates new symlinks in the $HOME folder for all files and folders in /home. Files and folders that you wish to symlink must start with a .

Work-specific and machine-specific config lives in a separate private repo (private-dotfiles). The public dotfiles conditionally load private overrides (e.g. ~/.bashrc.private, ~/.gitconfig.private) when they exist.

Usage:

cd ~
git clone https://github.com/Hammadk/public-dotfiles.git
cd public-dotfiles
sh bootstrap.sh

Once bootstrap.sh is run, you'll see output that looks like:

-e ~/.inputrc does not exist. Symlinking to dotfile.
-e ~/.irbrc is symlinked to your dotfiles.
-e ~/.tmux-mac.conf is symlinked to your dotfiles.

Shell requirements:

# Install OhmyZsh: https://github.com/ohmyzsh/ohmyzsh

zsh-autosuggestions      # Load this first (Ghost text)
zsh-autocomplete         # Load this second (The menu)
zsh-syntax-highlighting

Mac Requirement:

brew install tmux
brew install reattach-to-user-namespace # needed for Tmux

# Dependency for AG
brew install the_silver_searcher

Mac nice-to-haves:

1. Install Terminal themes in dotfiles/themes
2. Install Fonts from dotfiles/fonts

Vim installation:

:PlugInstall

Vscode installation:

1. Copy vscode/public-keybindings.json
2. Copy vscode/public-user-settings.json

Mac settings:

Keyboard:
* Key repeat rate: fastest
* Delay until repeat: Slowest
* Modifer: Capslock -> No action
* Shortcuts: Cmd + shift + 1 -> GPT
* Shortcuts: Cmd + shift + 2 -> Code Editor
* Shortcuts: Cmd + shift + 3 -> Notes
* Disable default Cmd + shift + 3 -> screenshot shortcut
* ctrl + space -> Ghostty

Font installation:

brew install --cask font-jetbrains-mono-nerd-font

Font installation for powerline:

You need to get fonts modified for powerline. Ones that are compatible with
vim-airline:

1. git clone https://github.com/Znuff/consolas-powerline.git
2. Install all fonts.
3. Configure your Terminal or iTerm2 to use the installed Powerline font. iTerm2 -> Preferences -> Profiles -> Text