Recover missing Brewfile and enhance system updates
- Add missing Brewfile (found in home directory) - Add bashrc and FZF configurations to dotfiles - Install mas CLI for Mac App Store management - Enhance sysupdate() with moon phase and MAS updates - Update symlinks script for all shell configs 🖖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude
parent
1f543d195b
commit
a0e34f78ae
@@ -0,0 +1,344 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Ansi 0 Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.32156863808631897</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.25882354378700256</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.23137255012989044</real>
|
||||
</dict>
|
||||
<key>Ansi 1 Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.41568627953529358</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.38039216399192810</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.74901962280273438</real>
|
||||
</dict>
|
||||
<key>Ansi 10 Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.54901963472366333</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.74509805440902710</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.63921570777893066</real>
|
||||
</dict>
|
||||
<key>Ansi 11 Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.54509806632995605</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.79607844352722168</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.92156863212585449</real>
|
||||
</dict>
|
||||
<key>Ansi 12 Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.75686275959014893</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.63137257099151611</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.50588238239288330</real>
|
||||
</dict>
|
||||
<key>Ansi 13 Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.67843139171600342</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.55686277151107788</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.70588237047195435</real>
|
||||
</dict>
|
||||
<key>Ansi 14 Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.73333334922790527</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.73725491762161255</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.56078433990478516</real>
|
||||
</dict>
|
||||
<key>Ansi 15 Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.95686274766921997</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.93725490570068359</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.92549020051956177</real>
|
||||
</dict>
|
||||
<key>Ansi 2 Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.54901963472366333</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.74509805440902710</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.63921570777893066</real>
|
||||
</dict>
|
||||
<key>Ansi 3 Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.54509806632995605</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.79607844352722168</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.92156863212585449</real>
|
||||
</dict>
|
||||
<key>Ansi 4 Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.75686275959014893</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.63137257099151611</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.50588238239288330</real>
|
||||
</dict>
|
||||
<key>Ansi 5 Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.67843139171600342</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.55686277151107788</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.70588237047195435</real>
|
||||
</dict>
|
||||
<key>Ansi 6 Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.81568628549575806</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.75294119119644165</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.53333336114883423</real>
|
||||
</dict>
|
||||
<key>Ansi 7 Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.94117647409439087</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.91372549533843994</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.89803922176361084</real>
|
||||
</dict>
|
||||
<key>Ansi 8 Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.41568627953529358</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.33725491166114807</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.29803922772407532</real>
|
||||
</dict>
|
||||
<key>Ansi 9 Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.41568627953529358</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.38039216399192810</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.74901962280273438</real>
|
||||
</dict>
|
||||
<key>Background Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.25098040699958801</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.20392157137393951</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.18039216101169586</real>
|
||||
</dict>
|
||||
<key>Badge Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>0.5</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.0</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.1491314172744751</real>
|
||||
<key>Red Component</key>
|
||||
<real>1</real>
|
||||
</dict>
|
||||
<key>Bold Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.91372549533843994</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.87058824300765991</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.84705883264541626</real>
|
||||
</dict>
|
||||
<key>Cursor Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.91372549533843994</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.87058824300765991</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.84705883264541626</real>
|
||||
</dict>
|
||||
<key>Cursor Guide Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>0.25</real>
|
||||
<key>Blue Component</key>
|
||||
<real>1</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.9268307089805603</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.70213186740875244</real>
|
||||
</dict>
|
||||
<key>Cursor Text Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.25098040699958801</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.20392157137393951</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.18039216101169586</real>
|
||||
</dict>
|
||||
<key>Foreground Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.91372549533843994</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.87058824300765991</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.84705883264541626</real>
|
||||
</dict>
|
||||
<key>Link Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.73423302173614502</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.35916060209274292</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.0</real>
|
||||
</dict>
|
||||
<key>Selected Text Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.25098040699958801</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.20392157137393951</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.18039216101169586</real>
|
||||
</dict>
|
||||
<key>Selection Color</key>
|
||||
<dict>
|
||||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>0.81568628549575806</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>0.75294119119644165</real>
|
||||
<key>Red Component</key>
|
||||
<real>0.53333336114883423</real>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,99 @@
|
||||
# iTerm2 Configuration
|
||||
|
||||
This directory contains iTerm2 configuration to match the Kitty terminal setup with Nord theme.
|
||||
|
||||
## Quick Setup
|
||||
|
||||
1. **Import Nord Color Scheme**:
|
||||
```bash
|
||||
# Run the setup script
|
||||
~/dotfiles/config/iterm2/setup-iterm.sh
|
||||
```
|
||||
|
||||
2. **Manual Color Import**:
|
||||
- Open iTerm2
|
||||
- Press `Cmd+,` to open Preferences
|
||||
- Go to **Profiles → Colors**
|
||||
- Click **Color Presets...** dropdown
|
||||
- Select **Import...**
|
||||
- Navigate to `~/dotfiles/config/iterm2/Nord.itermcolors`
|
||||
- Select **Nord** from the Color Presets dropdown
|
||||
|
||||
## Matching Settings with Kitty
|
||||
|
||||
The following settings match your Kitty configuration:
|
||||
|
||||
### Font Configuration
|
||||
- **Font**: Iosevka Term SS08 (or Dank Mono if you prefer)
|
||||
- **Size**: 16pt
|
||||
- **Ligatures**: Enabled
|
||||
- **Non-ASCII Font**: Fira Code Nerd Font (for symbols)
|
||||
|
||||
### Window Settings
|
||||
- **Default Size**: 120 columns × 35 rows
|
||||
- **Transparency**: 8% (equivalent to Kitty's 0.92 opacity)
|
||||
- **Blur**: Optional, helps with readability
|
||||
|
||||
### Behavior
|
||||
- **Scrollback**: 10,000 lines
|
||||
- **Copy on Selection**: Enabled
|
||||
- **Visual Bell**: Enabled (no audio bell)
|
||||
- **Cursor**: Block, blinking
|
||||
|
||||
## Manual Configuration
|
||||
|
||||
If you prefer to configure manually:
|
||||
|
||||
1. **Font**:
|
||||
- Profiles → Text → Font → Change Font
|
||||
- Select "Iosevka Term SS08" or "Dank Mono", Size 16
|
||||
|
||||
2. **Colors**:
|
||||
- Already handled by importing Nord.itermcolors
|
||||
|
||||
3. **Window**:
|
||||
- Profiles → Window → Settings for New Windows
|
||||
- Columns: 120, Rows: 35
|
||||
- Transparency: Drag slider to ~8%
|
||||
|
||||
4. **Terminal**:
|
||||
- Profiles → Terminal → Scrollback Buffer
|
||||
- Set to 10,000 lines
|
||||
|
||||
5. **Keys**:
|
||||
- Profiles → Keys → Key Mappings
|
||||
- Add shortcuts as needed to match Kitty
|
||||
|
||||
## Keyboard Shortcuts
|
||||
|
||||
To match Kitty's shortcuts in iTerm2:
|
||||
|
||||
| Action | Kitty | iTerm2 Setup |
|
||||
|--------|-------|--------------|
|
||||
| New Tab | `Cmd+T` | Default |
|
||||
| Close Tab | `Cmd+W` | Default |
|
||||
| Next Tab | `Cmd+]` | Default |
|
||||
| Previous Tab | `Cmd+[` | Default |
|
||||
| Font Size + | `Cmd+Plus` | Preferences → Keys → + |
|
||||
| Font Size - | `Cmd+Minus` | Preferences → Keys → + |
|
||||
| Font Size Reset | `Cmd+0` | Preferences → Keys → + |
|
||||
|
||||
## Saving Your Configuration
|
||||
|
||||
To save your iTerm2 configuration to dotfiles:
|
||||
|
||||
1. Open Preferences (`Cmd+,`)
|
||||
2. Go to **General → Preferences**
|
||||
3. Click **Load preferences from a custom folder**
|
||||
4. Select `~/dotfiles/config/iterm2`
|
||||
5. Check **Save changes to folder when iTerm2 quits**
|
||||
|
||||
This ensures your iTerm2 settings are backed up with your dotfiles.
|
||||
|
||||
## Nord Theme Benefits
|
||||
|
||||
The Nord color scheme is specifically chosen for:
|
||||
- **Reduced eye strain** with muted colors
|
||||
- **Excellent contrast** without being harsh
|
||||
- **Better readability** for users with vision considerations
|
||||
- **Consistent appearance** across Kitty and iTerm2
|
||||
Executable
+64
@@ -0,0 +1,64 @@
|
||||
#!/usr/bin/env bash
|
||||
# Setup iTerm2 with Nord theme and matching Kitty settings
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
DOTFILES_DIR="$HOME/dotfiles"
|
||||
ITERM_CONFIG_DIR="$DOTFILES_DIR/config/iterm2"
|
||||
|
||||
# Colors
|
||||
GREEN='\033[0;32m'
|
||||
YELLOW='\033[1;33m'
|
||||
BLUE='\033[0;34m'
|
||||
NC='\033[0m'
|
||||
|
||||
echo -e "${BLUE}Setting up iTerm2 configuration...${NC}"
|
||||
|
||||
# 1. Tell iTerm2 to use custom preferences folder
|
||||
echo -e "${YELLOW}Configuring iTerm2 to use dotfiles preferences...${NC}"
|
||||
defaults write com.googlecode.iterm2 PrefsCustomFolder -string "$ITERM_CONFIG_DIR"
|
||||
defaults write com.googlecode.iterm2 LoadPrefsFromCustomFolder -bool true
|
||||
|
||||
# 2. Set specific preferences matching Kitty config
|
||||
echo -e "${YELLOW}Setting iTerm2 preferences to match Kitty...${NC}"
|
||||
|
||||
# Font settings (Iosevka Term SS08, 16pt - matching Kitty)
|
||||
defaults write com.googlecode.iterm2 "Normal Font" -string "IosevkaTermSS08-Regular 16"
|
||||
defaults write com.googlecode.iterm2 "Non Ascii Font" -string "FiraCodeNerdFontComplete-Regular 16"
|
||||
|
||||
# Enable ligatures
|
||||
defaults write com.googlecode.iterm2 "ASCII Ligatures" -bool true
|
||||
|
||||
# Window size (120x35 characters)
|
||||
defaults write com.googlecode.iterm2 "Columns" -int 120
|
||||
defaults write com.googlecode.iterm2 "Rows" -int 35
|
||||
|
||||
# Transparency (matching Kitty's 0.92 opacity = 8% transparency)
|
||||
defaults write com.googlecode.iterm2 "Transparency" -float 0.08
|
||||
|
||||
# Scrollback lines (10000)
|
||||
defaults write com.googlecode.iterm2 "Scrollback Lines" -int 10000
|
||||
|
||||
# Visual bell instead of audio
|
||||
defaults write com.googlecode.iterm2 "Silence Bell" -bool false
|
||||
defaults write com.googlecode.iterm2 "Visual Bell" -bool true
|
||||
|
||||
# Copy on selection
|
||||
defaults write com.googlecode.iterm2 "Copy to Pasteboard on Selection" -bool true
|
||||
|
||||
# Cursor settings
|
||||
defaults write com.googlecode.iterm2 "Cursor Type" -int 0 # Block cursor
|
||||
defaults write com.googlecode.iterm2 "Blinking Cursor" -bool true
|
||||
|
||||
echo -e "${GREEN}✅ iTerm2 preferences configured${NC}"
|
||||
echo ""
|
||||
echo -e "${YELLOW}To complete the setup:${NC}"
|
||||
echo "1. Open iTerm2"
|
||||
echo "2. Go to Preferences > Profiles > Colors"
|
||||
echo "3. Click 'Color Presets...' dropdown"
|
||||
echo "4. Select 'Import...' and choose: $ITERM_CONFIG_DIR/Nord.itermcolors"
|
||||
echo "5. Select 'Nord' from the Color Presets dropdown"
|
||||
echo ""
|
||||
echo "Optional: Export your full iTerm2 config:"
|
||||
echo " Preferences > General > Preferences"
|
||||
echo " Click 'Save settings to Folder' and choose: $ITERM_CONFIG_DIR"
|
||||
Reference in New Issue
Block a user