denysdovhan/dotfiles — 480★ trên GitHub (Shell). My lovely dots ~/.💖
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
# Clone dotfiles repo
git clone https://github.com/denysdovhan/dotfiles.git $HOME/.dotfiles
# Go to the dotfiles directory
cd $HOME/.dotfiles
# Install dotfiles
./install
./install also links agents/AGENTS.md into supported agent config directories when those directories already exist (~/.codex, ~/.cursor, ~/.config/agents, ~/.config/github-copilot, and ~/.config/opencode).
Updating
Use single command to get the latest updates:
update
This command refreshes sudo, pulls the latest dotfiles, reruns ./install --except shell, updates zgen and Zsh plugins, and updates brew when available.
Under the hood
Note: You may put your custom settings into ~/.zshlocal.
Projects tree
I suggest you to organize project folder as follows:
~/Projects
├── Forks # for GitHub fork
├── Job # for job projects
├── Playground # for short-term experiments
└── Repos # for long-term projects
Aliases
Aliases are going to make your work fast and enjoyable. See code in $DOTFILES/lib/aliases.zsh. Here is what's included:
Aliases from Oh-My-Zsh. See Oh-My-Zsh Cheatsheet for more.
Easier navigation
.. → cd ..
... → cd ../..
.... → cd ../../..
..... → cd ../../../..
~ → cd ~
- → cd -
Folders shortcuts
dl → cd ~/Downloads
dt → cd ~/Desktop
pj → cd ~/Projects
pjr → cd ~/Projects/Repos
pjf → cd ~/Projects/Forks
pjj → cd ~/Projects/Job
pjl → cd ~/Projects/Playground
Commands Shortcuts
e → $EDITOR
+x → chmod +x
x+ → chmod +x
reload → reload ~/.zshrc
clr → clear
Open
open <FILE> — open file from terminal.
o <FILE> — open file from terminal.
oo — open current folder.
term — open iTerm.
Misc
update — get updates (Runs $DOTFILES/scripts/update.sh).
bootstrap — run machine bootstrap (Runs $DOTFILES/scripts/bootstrap.sh).
dotfiles — jump quickly into dotfiles folder.
myip — my local IP address.
password — generate random password, copies it into clipboard and outputs it to terminal.
path — print $PATH in readable view.
getpage — download web page with all assets.
get — download file with original filename.
git-root — jump to the current repo root.
help — use tldr when available.
lg — open lazygit when available.
Depending on installed tools, ls uses eza, cat uses bat, cd uses zoxide, and rm uses trash.
Oh-My-Zsh plugins
These OMZ plugins are included:
brew — Homebrew completions and helpers.
git — git aliases and functions.
history-substring-search — browser-like history search.
npm — provides completion as well as adding many useful aliases.
yarn — the same as for npm, but for yarn
nvm — auto-sourcing nvm.
fnm — fnm integration.
pyenv — pyenv integration.
gh — GitHub CLI aliases and completions.
sudo — [Esc] [Esc] to re-run previous command with sudo.
ssh-agent — automatically starts ssh-agent to set up and load whichever credentials you want for ssh connections.
gpg-agent — enables gpg-agent if it is not running.
docker and docker-compose — Docker helpers.
fzf, direnv, bun, deno, and more.
More are listed in .zshrc (it's hard to keep the list updated).
Bin
Dotfiles also include some functions that will make your life easier. See code in bin/.
emptytrash — empty the Trash on all mounted volumes and the main HDD.
git-cleanup — removes old Git branches and does other cleanup.
git-fork — add remote upstream.
git-upstream — sync branch with upstream.
gz — get gzipped file size
n — runs given command using binary in node_modules/.bin of the current project.
nyan — print nyan cat.
password — generate a random password and copy it to the clipboard.
Git
Note: Add your git user data and custom settings to ~/.gitlocal.
Configuration
UI color is auto.
Default branch is main.
Diff colors are:
white bold for meta information;
cyan bold for frag;
red bold for old lines;
green bold for new lines.
Default editor is Vim instead of Vi.
push.default set as current.
pull.rebase set to true.
push.autoSetupRemote set to true.
rerere enabled for conflict resolution reuse.
Automatic replacement git://github.com/, gh:, github: addresses as [email protected]: for GitHub.
Automatic replacement git://gist.github.com/, gst:, gist: addresses as [email protected]: for Gists.
User custom settings gets from a ~/.gitlocal file.
Git Aliases
git a → git add — patch mode for specified files.
git ua → git reset HEAD — unstage files.
git b → git branch — list, create, or delete branches.
git c → git commit — record changes to the repository.
git m → git merge — merge branches.
git mc → git merge --continue — continue merge after resolving conflicts.
git co → git checkout — checkout a branch or paths to the working tree.
denysdovhan/dotfiles có 480 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/denysdovhan/dotfiles. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
denysdovhan/dotfiles có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho denysdovhan/dotfiles. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
denysdovhan/dotfiles còn đang phát triển không?
Commit gần nhất trên denysdovhan/dotfiles là 26 ngày trước (theo timestamp GitHub). Repo có 60 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
denysdovhan/dotfiles là gì?
denysdovhan/dotfiles (denysdovhan/dotfiles) là dự án Shell trên GitHub. Theo mô tả gốc: My lovely dots ~/.💖
Đọc thêm về denysdovhan/dotfiles ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/denysdovhan/dotfiles là nguồn chính thức.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc dotfiles có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về dotfiles.