Skip to content

Huijie-Liu/dev-environment-files

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Dev Environment Configuration 🚀

IMPORTANT: These are primarily meant for inspiration. I wouldn't just blindly use them. Proceed at your own risk!

MacOS Setup (optional)

Here are some tips to improve your Mac settings for better effectiveness.

Display Setup

  • Accessibility > Display
    • Turn On Reduce Motion
  • Desktop & Dock > Mission Control
    • only keep “Displays Have Separate Spaces” turned on

Keyboard Setup

  • change keyboard binging

    • Caps Lock <--> Control
  • Key repeating speed up

    defaults write -g InitialKeyRepeat -int 10 # normal minimum is 15 (225 ms)
    defaults write -g KeyRepeat -int 1 # normal minimum is 2 (30 ms)
    

Software Setup

  • iTerm 2 - Replacement for Terminal.
  • Bartender 5 - Superpowered your menu bar.
  • BetterTouchTool - BetterTouchTool is a great, feature packed app that allows you to customize various input devices on your Mac.
  • Raycast - A collection of powerful productivity tools all within an extendable launcher. Fast, ergonomic and reliable.
  • 1Password - Password manager.
  • typora - Markdown editor.

Terminal Setup

My personal favorite shells: zsh & fish. With the starship theme.

Alacritty Setup

Alacritty - A cross-platform, OpenGL terminal emulator

Setup Requires

  • homebrew (optional) - package management

Relevant Files

Zsh Setup

Zsh is a shell designed for interactive use, although it is also a powerful scripting language.

Setup Requires

Relevant Files

  • .zshrc - Zsh Shell Configuration

Fish Setup

Fish is a smart and user-friendly command line shell for Linux, macOS, and the rest of the family.

Plugins

  • jorgebucaran/fisher - fish plugin management
  • patrickf1/fzf.fish - fzf config for fish
  • jorgebucaran/autopair.fish - autopair ()[]''{}...
  • jhillyerd/plugin-git - git shortcuts
  • IlanCosman/tide - fish theme

Setup Requires

  • fisher - fish plugin management
  • tide - fish shell theme
  • CLI tools
    • fzf - command line fuzzy finder
    • fd - better find
    • bat - better cat
    • eza - better ls
    • zoxide - better cd

Relevant Files

Starship Setup

The minimal, blazing-fast, and infinitely customizable prompt for any shell!

  • Fast: it's fast – really really fast! 🚀
  • Customizable: configure every aspect of your prompt.
  • Universal: works on any shell, on any operating system.
  • Intelligent: shows relevant information at a glance.
  • Feature rich: support for all your favorite tools.
  • Easy: quick to install – start using it in minutes.

Setup Requires

  • starship

    curl -sS https://starship.rs/install.sh | sh

    or

    brew install starship

Relevant Files

CLI Tools Setup

Amazing CLI tools you won't be able to live without!

  • brew - package manager for macOS (or Linux)

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    
  • fzf - command line fuzzy finder

    brew install fzf
  • fd - better find

    brew install fd
  • bat - better cat

    brew install bat
  • eza - better ls

    brew install eza
  • thefuck - auto correct mistyped commands

    brew install thefuck
  • zoxide - better cd

    brew install zoxide
  • lazygit or tig - TLI for git

    brew install lazygit
  • tldr - user friendly man page

    brew install tldr
    

Yabai Tiling Window Manager Setup (macOS)

Yabai is a window management utility that is designed to work as an extension to the built-in window manager of macOS.

Setup Requires

  • yabai - tiling window manager

    brew install koekeishiya/formulae/yabai
  • skhd - keyboard shortcuts manager

    brew install koekeishiya/formulae/skhd

Relevant Files

Sketchybar Custom Menu Bar Setup (macOS)

This bar project aims to create a highly flexible, customizable, fast and powerful status bar replacement for people that like playing with shell scripts.

Setup Requires

  • sketchybar: brew tap FelixKratz/formulae and brew install sketchybar

  • jq (json command line processor): brew install jq

  • SF Pro Font: brew tap homebrew/cask-fonts and brew install font-sf-pro

  • SF Symbols: brew install --cask sf-symbols:

  • Sketchybar App Font:

    curl -L https://github.com/kvndrsslr/sketchybar-app-font/releases/download/v1.0.16/sketchybar-app-font.ttf -o $HOME/Library/Fonts/sketchybar-app-font.ttf

Relevant Files

Tmux Setup

Tmux is a terminal multiplexer. It lets you switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal.

Setup Requires

  • tpm - tmux plugin manager

    git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

Relevant Files

Neovim Setup

Hyperextensible Vim-based text editor.

Setup Requires

  • Neovim >= 0.9.0 (needs to be built with LuaJIT)

  • Git >= 2.19.0 (for partial clones support)

  • LazyVim

  • a Nerd Font(v3.0 or greater) (optional, but needed to display some icons)

  • lazygit (optional)

  • a C compiler for nvim-treesitter. See here

  • for telescope.nvim (optional)

  • a terminal that support true color and undercurl:

Relevant Files

Quick Setup

I have created a Bash script to automatically install and configure all of my settings.

git clone https://github.com/Huijie-Liu/dev-environment-files.git
cd dev-environment-files
bash install.sh

Acknowledgements

This project currently does not have a license. This project is a fork of josean-dev/dev-environment-files, and I extend my love and respect to the original author for their excellent work and sharing spirit.

About

My personal development configurations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Shell 62.7%
  • Lua 24.0%
  • C 13.2%
  • Makefile 0.1%