Skip to content

My dotfiles for macOS and Linux: Development environment for Rust / Java / Python, Configuration for vim / fish / i3 / tmux.

License

Notifications You must be signed in to change notification settings

qingshan/dotfiles

Repository files navigation

Qingshan's Dotfiles

Dotfiles are for macOS and Linux to setup my development environment.

Installation

Install dotfiles, run:

git clone https://github.com/qingshan/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
make

For macOS or Debian desktop, one more step:

make desktop

Features

Desktops

Both desktops use same key bindigs, go to Desktop Cheatsheet.

Servers

  • Debian, Ubuntu
  • Rocky Linux, CentOS, RedHat Enterprise Linux
  • Arch Linux

Shells

zsh as default shell on macOS:

  • ~/.zprofile and ~/.profile is sourced in login shell.
  • ~/.zshrc is sourced in interactive shell.

bash as default shell on macOS:

  • ~/.bash_profile and ~/.profile is sourced in login shell.
  • ~/.bashrc is sourced in interactive shell.

fish as interactive shell in interactive mode of zsh or bash, without setting it as user's default shell.

Terminals

  • alacritty, ghostty, ssh runs user's default shell as interactive login shell.
  • tmux runs inside an existing shell session, runs fish as interactive non-login shell.

alacritty as default terminal integrated with tmux, go to Terminal Cheatsheet for key bindings.

ghosttty as quick terminal.

SSH

  • ssh server starts interactive login shell.
  • ssh server command non-interactive non-login shell.
  • echo command | ssh server starts non-interactive login shell. You can also start one with ssh server bash -l -c command.

Tools

  • bat
  • fd
  • lsd
  • fzf
  • direnv
  • ripgrip
  • starship
  • gh
  • lazygit
  • zoxide
  • jq
  • just

Notes

  • zk for cli notes: journal/inbox/notes
  • Obsidian for tech notes
  • Apple Notes for personal notes
  • mdbook for publish notes: qingshan/notes

Development Environments

  • Java: IntelliJ IDEA with IdeaVim
  • Rust: Zed

Fonts

  • JetBrains Mono Font
  • Nerd Font

Vim

Test

Use Docker on Linux or Apple container on macOS to build linux/debian/Dockkerfile to test dotfiles on latest version of Debian.

run server test

make server-test

or run desktop test

make deskop-test

About

My dotfiles for macOS and Linux: Development environment for Rust / Java / Python, Configuration for vim / fish / i3 / tmux.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published