
Customizing the MacOS Terminal with help from AI
After spending a year traveling the world, I've acquired a new Macbook Air and had to set up my terminal interface again. I do not normally enjoy this process but I loved it this time. A continuous conversation with AI (Gemini specifically) lead to every random idea I had becoming realized in my .zshrc file. There are some goodies in here I suspect you'll enjoy too. Basic settings and imports # # # # # # # # # # # # # # import things we need # # # # # # # # # # # # # # # load 'live' hooks to execute things every call, # load TAB completion autoload -Uz add-zsh-hook compinit # # # # # # # # # # # # # # Enable Tab Completion # # # # # # # # # # # # # # # 1. Prevent duplicate entries in paths typeset -U FPATH PATH # 2. Add Homebrew to FPATH for even better tab completion (if it's not present already) FPATH = "/opt/homebrew/share/zsh/site-functions: ${ FPATH } " # 3. Enable TAB completion compinit # # # # # # # # # # # # # # Toggling Misc options # # # # # # # # # # # # # # # make ls prett
Continue reading on Dev.to
Opens in a new tab




