Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
525 changes: 0 additions & 525 deletions .macos

This file was deleted.

74 changes: 0 additions & 74 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
tap "espanso/espanso"
tap "homebrew/bundle"
tap "localsend/localsend"
brew "xz"
brew "zstd"
brew "libtiff"
Expand All @@ -9,11 +7,8 @@ brew "c-ares"
brew "icu4c@76"
brew "libuv"
brew "openssl@3"
brew "node"
brew "bitwarden-cli"
brew "gettext"
brew "glib"
brew "duti"
brew "sqlite"
brew "gh"
brew "git"
Expand All @@ -30,72 +25,3 @@ brew "pyenv"
brew "python-argcomplete"
brew "qemu"
brew "yarn"
cask "alt-tab"
cask "balenaetcher"
cask "bitwarden"
cask "espanso"
cask "ghostty"
cask "latest"
cask "localsend"
cask "mark-text"
cask "monitorcontrol"
cask "notion-calendar"
cask "notunes"
cask "numi"
cask "pearcleaner"
cask "shottr"
cask "stats"
cask "warp"
cask "yaak"
vscode "aaron-bond.better-comments"
vscode "alefragnani.project-manager"
vscode "bradlc.vscode-tailwindcss"
vscode "christian-kohler.npm-intellisense"
vscode "christian-kohler.path-intellisense"
vscode "chrmarti.regex"
vscode "davidanson.vscode-markdownlint"
vscode "dbaeumer.vscode-eslint"
vscode "denoland.vscode-deno"
vscode "dracula-theme.theme-dracula"
vscode "dsznajder.es7-react-js-snippets"
vscode "editorconfig.editorconfig"
vscode "emmanuelbeziat.vscode-great-icons"
vscode "esbenp.prettier-vscode"
vscode "formulahendry.auto-close-tag"
vscode "formulahendry.auto-rename-tag"
vscode "github.copilot"
vscode "github.copilot-chat"
vscode "github.copilot-workspace"
vscode "github.vscode-github-actions"
vscode "github.vscode-pull-request-github"
vscode "gruntfuggly.todo-tree"
vscode "hashicorp.terraform"
vscode "hbenl.vscode-test-explorer"
vscode "idered.npm"
vscode "maxvanderschee.web-accessibility"
vscode "meganrogge.template-string-converter"
vscode "mikestead.dotenv"
vscode "ms-azuretools.vscode-docker"
vscode "ms-vscode-remote.remote-containers"
vscode "ms-vscode.live-server"
vscode "ms-vscode.test-adapter-converter"
vscode "ms-vsliveshare.vsliveshare"
vscode "mylesmurphy.prettify-ts"
vscode "nicoespeon.abracadabra"
vscode "orta.vscode-jest"
vscode "philnash.ngrok-for-vscode"
vscode "pwabuilder.pwa-studio"
vscode "quicktype.quicktype"
vscode "ritwickdey.liveserver"
vscode "saoudrizwan.claude-dev"
vscode "sburg.vscode-javascript-booster"
vscode "sleistner.vscode-fileutils"
vscode "sonarsource.sonarlint-vscode"
vscode "stevencl.adddoccomments"
vscode "stylelint.vscode-stylelint"
vscode "visualstudioexptteam.intellicode-api-usage-examples"
vscode "visualstudioexptteam.vscodeintellicode"
vscode "wayou.vscode-todo-highlight"
vscode "wmaurer.change-case"
vscode "xabikos.javascriptsnippets"
vscode "yoavbls.pretty-ts-errors"
58 changes: 38 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,60 @@
# dotfiles

Hey! 👋

This repo stores my personal app configs and customizations. I mainly use zsh, but you can adapt for bash or other shells.
Since I work with macOS and Ubuntu, configs are optimized for these OSs. But no worries - you can easily tweak them for other systems too!

## Usage

This is my dotfiles for personal app configs and customizations. I mainly use zsh, but you might adapt for bash or other shells.
This repo is 100% open for you to explore and customize. Just clone it and swap my configs with yours - makes it super easy to get your dev environment up and running on any new machine.

## Getting Started
## How to use

1. Clone this repository to your local machine:
1. Clone this repository:

```bash
git clone git@github.com:tcelestino/dotfiles.git
```

2. Open folder `dotfiles` and set run file to install

```bash
chmod +x install
```
3. Open `.zshrc` file and change variables "USER_NAME", "USER_EMAIL" and "NPM_SCOPE". You might set `GH_TOKEN` and `NPM_TOKEN` too.

```bash
2. Edit `.zshrc` file and set config options for variables `USER_NAME`, `USER_EMAIL` and `NPM_SCOPE`. You might set `GH_TOKEN` and `NPM_TOKEN` too.

4. Run the install script
3. Run the install script

```bash
./install
```
⚠️ **Don't forget to set values `GH_TOKEN` and `NPM_TOKEN`!!**

## My Apps

This is my list of apps and tools that I use.

### Apps

| Name | Description | Download URL |
|--------------|-------------------------------------------------------------|---------------------------------------------------------------|
| Terminator | Multi-monitor terminal for Linux | [https://gnome-terminator.org/](https://gnome-terminator.org/) |
| Ulauncher | Spotlight for Linux | [https://ulauncher.io/](https://ulauncher.io/) |
| VSCode | Code editor | [https://code.visualstudio.com/](https://code.visualstudio.com/) |
| Cursor | AI-powered code editor | [https://www.cursor.com/](https://www.cursor.com/) |
| Firefox | Web browser | [https://www.firefox.com/](https://www.firefox.com/) |
| Beekeeper Studio | Database management tool | [https://www.beekeeperstudio.io/](https://www.beekeeperstudio.io/) |

### Development tools

| Name | Description | Download URL |
|--------------|-------------------------------------------------------------|-----------------------------------------------------------------|
| Node.js | JavaScript runtime for application development | [https://nodejs.org/](https://nodejs.org/) |
| Yarn | Fast and reliable package manager for Node.js | [https://yarnpkg.com/](https://yarnpkg.com/) |
| Git | Distributed version control system | [https://git-scm.com/](https://git-scm.com/) |

### NPM packages

| Name | Description | Download URL |
|--------------|-------------------------------------------------------------|---------------------------------------------------------------|
| fastify-cli | CLI for Fastify framework | [https://www.fastify.io/](https://www.fastify.io/) |
| npm-check-updates | Tool to update npm dependencies | [https://www.npmjs.com/package/npm-check-updates](https://www.npmjs.com/package/npm-check-updates) |
| git-cz | Tool for conventional commits | [https://www.npmjs.com/package/git-cz](https://www.npmjs.com/package/git-cz) |
| @nestjs/cli | NestJS Command Line Interface | [https://docs.nestjs.com/](https://docs.nestjs.com/) |

## Additional Configurations

- To set the keyboard layout to include the 'ç' character on Ubuntu, follow the steps in the article "[Ajeitando o cedilha errado (ć) no Ubuntu Linux](https://www.danielkossmann.com/pt/ajeitando-cedilha-errado-ubuntu-linux/)"
- If you use iTerm2, you might import the color scheme and other configurations into iTerm2. The settings can be found in the "iterm2" folder.
- To set the keyboard layout to include the 'ç' character on Ubuntu, follow the steps in the article "[Fixing the wrong cedilla (ć) in Ubuntu Linux](https://www.danielkossmann.com/pt/ajeitando-cedilha-errado-ubuntu-linux/)"

## Contributing

Expand Down
17 changes: 17 additions & 0 deletions git/.git-commit-template
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Title (maximum 50 characters)
#
# Briefly and imperatively describe the change made

# Blank line

# Message body (maximum 72 characters per line)
#
# Explain what and why, not just how. If necessary, provide context,
# motivations, and the impact of the change. Use as many lines as needed.

# Blank line

# Footer (optional)
#
# Reference issues, pull requests, or breaking changes, if applicable.
# Example: Closes #123, Related to #456
17 changes: 10 additions & 7 deletions git/.gitconfig
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
# This is Git's per-user configuration file.

[user]
name = "<YOUR-NAME-HERE>"
email = "<YOUR-EMAIL-HERE>"
name = "" # e.g. Tiago Celestino
email = "" # e.g. your.email@provider.com

[mergetool]
keepBackup = true

[core]
editor = vim
editor = $EDITOR
excludesfile = ~/.gitignore
attributesfile = ~/.gitattributes

[init]
defaultBranch = main

[push]
autoSetupRemote = true

[commit]
template = ~/.git-commit-template

[alias]
ci = commit
Expand All @@ -33,10 +36,10 @@
fu = fetch origin
pum = pull origin master
pumn = pull origin main
pud = pull origin dev
pud = pull origin develop
fupum = !git co master && git fu && git pum
fupumn = !git co main && git fu && git pumn
fupud = !git co dev && git fu && git pud
fupud = !git co develop && git fu && git pud
rb = "!f() { \
branch=\"$(git branch 2>/dev/null | grep \\* | awk '{ print $2 }')\" && \
if git rev-parse --verify master >/dev/null 2>&1; then \
Expand Down
Loading