-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Install the XCode manually from App Store.
And then install the Command Line Tools on the following command line, it will ask for permission.
❯ xcode-select --install
Homebrew is a package manager for macOS which lets us install free and open-source software using the terminal.
To install the Homebrew, execute the following command.
❯ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
❯ mkdir ~/Sources/github.com/tokuda109/
❯ cd ~/Sources/github.com/tokuda109/
❯ git clone [email protected]:tokuda109/dotfiles.git && cd dotfiles
Install tools and applications with Homebrew bundle.
❯ brew bundle
The bootstrap script can be run in the repository root.
❯ ./scripts/bootstrap
Since I use Fisher as a plugin manager for the fish shell, run the following command to update the fish plugins.
❯ curl -sL https://git.io/fisher | source
❯ fisher update
❯ git clone https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim
❯ ./defaults/dock
❯ ./defaults/iterm2
❯ ./defaults/safari
I mainly use the following programming languages:
- Node.js
- Go
So I need to set up these environments by refer to installation page.
After executing the Step 5, ~/.config/git/
directory was copied.
The .gitconfig.local
file will be read by ~/.config/git/.gitconfig
as follows:
[include]
path = ./.gitconfig.local
Create a .gitconfig.local
with the following command:
❯ touch ~/.config/git/.gitconfig.local
And import the user account settings divided per remote repository path.
[includeIf "gitdir:~/Sources/github.com/tokuda109/"]
path = ./.gitconfig.personal
[includeIf "gitdir:~/Sources/github.com/{Org account}/"]
path = ./.gitconfig.org
I use ghq to manage remote repositories, so remote repositories are downloaded under ~/Sources/github.com/tokuda109/
directory.
In this directory, I want to do the signature commits under my personal account, so I create a file with the following settings:
[user]
name = zzzzzzz
email = [email protected]
signingkey = xxxxxxxxxx