This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Inicio |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| blk='\[\033[01;30m\]' # Black | |
| red='\[\033[01;31m\]' # Red | |
| grn='\[\033[01;32m\]' # Green | |
| ylw='\[\033[01;33m\]' # Yellow | |
| blu='\[\033[01;34m\]' # Blue | |
| pur='\[\033[01;35m\]' # Purple |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HTTP status code symbols for Rails | |
| Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings. | |
| Status Code Symbol | |
| 1xx Informational | |
| 100 :continue | |
| 101 :switching_protocols | |
| 102 :processing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ============================================================================== | |
| # 1. COMPATIBILIDADE DE CORES E TERMINAL (Crucial para Starship e WezTerm) | |
| # ============================================================================== | |
| # Garante que o tmux use 256 cores e TrueColor (cores de 24-bit) | |
| set -g default-terminal "tmux-256color" | |
| set -as terminal-features ",xterm-256color:RGB" | |
| # Remove o atraso ao apertar a tecla ESC (essencial se você usa Vim/Neovim) | |
| set -s escape-time 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Não adiciona uma linha em branco ao iniciar o prompt | |
| add_newline = false | |
| # ============================================================================== | |
| # O NOVO FORMATO (Degradê Neutro em 3 Tons) | |
| # ============================================================================== | |
| format = """ | |
| [░▒▓](#1e1e2e)\ | |
| $os\ | |
| [▓▒░](fg:#1e1e2e bg:#45475a)\ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ============================================================================== | |
| # 1. GERENCIAMENTO DE HISTÓRICO (Manual Cap. 3.2) | |
| # ============================================================================== | |
| # O Zsh não salva histórico por padrão se você não definir estas variáveis: | |
| HISTFILE=~/.zsh_history | |
| HISTSIZE=10000 # Quantos comandos ficam na memória da sessão atual | |
| SAVEHIST=10000 # Quantos comandos salvam no arquivo de histórico | |
| # Opções de comportamento do Histórico (Recomendadas pelo manual) | |
| setopt HIST_IGNORE_DUPS # Não grava o mesmo comando se digitado duas vezes seguidas |