This is the git repository for my dotfiles.
stow
- Install brew
- Install zsh
- Install git
- Run git clone https://github.com/tamphh/dotfiles.git
- Cd to dotfiles folder. For example:
cd ~/dotfiles - Install stow:
brew install stow - Run
./setup.shto execute script - Optional:
mv ~/dotfiles ~/.dotfilesif it's needed to be made hidden. - Run
brew_bootstrap.shto install brew packages
-
Navigate to the directory of the file.
-
Execute
chmod +x filename.shto make the script executable. -
Then
./filename.shto activate the script.
- Navigate to the directory of the file.
- Execute
ruby filename.rb.
public
.git
tmp/
*.cache
*.json
tps-main.js
*.min.*
*min.js
Source: https://github.com/junegunn/fzf#using-homebrew-or-linuxbrew
# To install useful key bindings and fuzzy completion:
$(brew --prefix)/opt/fzf/installsource: Pass the path to git diff-highlight on Ubuntu 18.04 (link)
Link diff-highlight
sudo chmod +x /usr/share/doc/git/contrib/diff-highlight/diff-highlight
sudo ln -s /usr/share/doc/git/contrib/diff-highlight/diff-highlight /usr/local/bin/diff-highlightIf you upgrade git after Link
Add only execute permission again
sudo chmod +x /usr/share/doc/git/contrib/diff-highlight/diff-highlightiTerm2 tmux copy mode: Enable clipboard access