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.sh
to execute script - Optional:
mv ~/dotfiles ~/.dotfiles
if it's needed to be made hidden. - Run
brew_bootstrap.sh
to install brew packages
-
Navigate to the directory of the file.
-
Execute
chmod +x filename.sh
to make the script executable. -
Then
./filename.sh
to 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/install
source: 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-highlight
If you upgrade git after Link
Add only execute permission again
sudo chmod +x /usr/share/doc/git/contrib/diff-highlight/diff-highlight
iTerm2 tmux copy mode: Enable clipboard access