Created
June 9, 2026 04:05
-
-
Save mirzalazuardi/a039f8f94f01e287db40e0f8bf1a0418 to your computer and use it in GitHub Desktop.
linux setup
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
| # ~/.aliases | |
| alias g='git' | |
| alias o='nvim' | |
| alias pbcopy='cat > ~/.vclipboard' | |
| alias pbpaste='cat ~/.vclipboard' | |
| alias ai-new='cat ~/dotfiles/ai-prompts/prompts/01-bootstrap.md | pbcopy && echo "Bootstrap prompt copied"' | |
| alias ai-go='cat ~/dotfiles/ai-prompts/prompts/02-continue.md | pbcopy && echo "Continue prompt copied"' | |
| alias ai-do='cat ~/dotfiles/ai-prompts/prompts/04-execute.md | pbcopy && echo "Execute prompt copied"' | |
| alias ai-bug='cat ~/dotfiles/ai-prompts/prompts/03-debug.md | pbcopy && echo "Debug prompt copied"' | |
| alias tb='nc termbin.com 9999' | |
| alias rs='bundle exec rails s -b 0.0.0.0 -p 3000; sudo -n /usr/local/bin/gen-nginx-specs.sh' | |
| alias rs_local='bundle exec rails s -b 0.0.0.0 -p 3001; sudo -n /usr/local/bin/gen-nginx-specs.sh' | |
| # .gitconfig | |
| [user] | |
| name = Mirzalazuardi | |
| email = mirzalazuardi@gmail.com | |
| [alias] | |
| co = checkout | |
| br = branch | |
| ci = commit | |
| st = status | |
| p = push | |
| l = pull | |
| lg = log --oneline --decorate --graph --all --pretty=format:'%C(yellow)%h %C(blue)[%ad] %C(green)%an%C(reset) %s' --date=format:'%Y-%m-%d %H:%M' | |
| dsf = diff --color | |
| cp = cherry-pick | |
| rs = reset --soft | |
| rm = reset --mixed | |
| rh = reset --hard | |
| ll = log --oneline --graph --branches --not --remotes | |
| rb = rebase | |
| stp = stash list --pretty=format:'%C(yellow)%h %s %C(green)(%cr) %C(blue)<%an>' | |
| sl = stash list | |
| sshow = stash show -p | |
| ss = stash show | |
| wt = worktree | |
| wta = worktree add | |
| wtl = worktree list | |
| wtr = worktree remove | |
| zipchanges = !zip \"$(git branch --show-current)-changes.zip\" $(git diff --name-only --diff-filter=AM) $(git ls-files --others --exclude-standard) | |
| [core] | |
| excludesfile = /Users/hermawan/.gitignore_global | |
| pager = delta | |
| [interactive] | |
| diffFilter = delta --color-only | |
| [delta] | |
| navigate = true # use n and N to move between diff sections | |
| dark = true # or light = true, or omit for auto-detection | |
| [merge] | |
| conflictStyle = zdiff3 | |
| .env | |
| export TERM=xterm-256color | |
| eval "$(zoxide init bash)" | |
| eval "$(/home/mirza/.local/bin/mise activate bash)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment