Last active
December 12, 2025 18:31
-
-
Save guizordan/59fd7507418e86127b61772dbc3433fa to your computer and use it in GitHub Desktop.
My zsh configuration
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
| alias update='sudo pacman -Syu' # Alias mais claro | |
| alias install='sudo pacman -S' # Instala um pacote | |
| alias search='pacman -Ss' # Procura um pacote | |
| alias remove='pacman -Rns' # Remove um pacote | |
| alias rmlog='journalctl --vacuum-time=7d' # Limpa logs antigos (opcional, boa prática) | |
| alias c="clear" # Atalho para limpar a tela | |
| alias ..='cd ..' # Volta um diretório | |
| alias ...='cd ../..' # Volta dois diretórios | |
| alias cp="cp -i" # Confirma antes de sobrescrever | |
| alias df='df -h' # Tamanhos legíveis para humanos | |
| alias free='free -m' # Memória em MB | |
| alias more=less # Torna 'more' mais útil | |
| alias gs='git status' | |
| alias gp='git pull origin' | |
| alias gpsh='git push' | |
| alias gcm='git commit -m' | |
| alias gco='git checkout' | |
| alias grb='git rebase -i HEAD~' | |
| alias vi='nvim' | |
| alias vim='nvim' | |
| alias neovim='nvim' | |
| export PATH="$PATH:/home/guizordan/.dotnet" | |
| export NVM_DIR="$HOME/.nvm" | |
| [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
| [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment