Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akkinoc/dotfiles
My personal dotfiles for macOS.
https://github.com/akkinoc/dotfiles
bash dotfiles git homebrew macos shell
Last synced: 2 months ago
JSON representation
My personal dotfiles for macOS.
- Host: GitHub
- URL: https://github.com/akkinoc/dotfiles
- Owner: akkinoc
- License: mit
- Created: 2014-11-16T13:50:44.000Z (about 10 years ago)
- Default Branch: main
- Last Pushed: 2024-05-20T14:27:51.000Z (7 months ago)
- Last Synced: 2024-05-20T16:23:25.211Z (7 months ago)
- Topics: bash, dotfiles, git, homebrew, macos, shell
- Language: Shell
- Homepage:
- Size: 530 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# dotfiles
![works badge]
[![license badge]][license]
[![sponsor badge]][sponsor][works badge]: https://img.shields.io/badge/works-on%20my%20machine-brightgreen
[license]: LICENSE.txt
[license badge]: https://img.shields.io/github/license/akkinoc/dotfiles?color=blue
[sponsor]: https://github.com/sponsors/akkinoc
[sponsor badge]: https://img.shields.io/static/v1?logo=github&label=sponsor&message=%E2%9D%A4&color=db61a2My personal dotfiles for macOS.
## Installation
### Setting SSH key
Place my SSH key.
* SSH secret key: `~/.ssh/akkinoc`
* SSH public key: `~/.ssh/akkinoc.pub`### Installing dotfiles
Clone this Git repository.
```console
$ GIT_SSH_COMMAND="ssh -i ~/.ssh/akkinoc" git clone [email protected]:akkinoc/dotfiles.git
```Install dotfiles and reload shell.
```console
$ dotfiles/INSTALL.sh
$ exec -l "$SHELL"
```## Additional installation
### Installing Homebrew packages
Required: [Homebrew].
[Homebrew]: https://brew.sh/
Install Homebrew packages.
```console
$ brew bundle --global
```Change login shell to Bash installed via Homebrew.
```console
$ export SHELL="/opt/homebrew/bin/bash" # or "/usr/local/bin/bash"
$ sudo dscl . -create "/Users/$USER" UserShell "$SHELL"
$ reload
```### Setting GPG key
Required: [GnuPG].
[GnuPG]: https://gnupg.org/
Disable option to store password in macOS keychain.
```console
$ defaults write org.gpgtools.common DisableKeychain -bool yes
```Import my GPG key.
```console
$ gpg --import <{Key}
$ echo "{Fingerprint}:6:" | gpg --import-ownertrust
```## License
Licensed under the [MIT License][license].