Nushell is a modern shell that treats data as structured tables, making it incredibly powerful for working with JSON, CSV, and other structured formats. Think of it as combining the best of PowerShell’s object pipelines with Unix philosophy.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/aprog93/Gentleman.Dots/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Gentleman.Dots Nushell configuration provides:- Custom Gentleman theme with wave-inspired colors
- Vi mode editing with custom cursor shapes
- Starship prompt integration
- Zoxide, Atuin, and Carapace integrations
- Automatic tmux session management
- Custom LS_COLORS for beautiful file listings
- FZF utilities for fuzzy finding
Installation
Configuration Files
config.nu
The main configuration file located at~/.config/nushell/config.nu.
Theme Configuration
Gentleman.Dots includes a custom dark theme inspired by wave colors:Editor Mode
Configured for vi mode with visual cursor feedback:config.nu:242-246
Custom Functions
Utility functions for enhanced workflow:Automatic Tmux
Sessions automatically start in tmux:config.nu:925-934
env.nu
Environment configuration at~/.config/nushell/env.nu.
PATH Configuration
env.nu:102-117
Tool Initialization
Automatically initializes modern CLI tools:env.nu:134-137
Key Features
Structured Data Pipelines
Nushell’s killer feature is treating everything as structured data:Completion System
Four sophisticated completion menus:- Completion Menu (Tab) - Columnar display
- IDE Completion (Ctrl+Space) - VSCode-style with descriptions
- History Menu (Ctrl+R) - Search command history
- Help Menu (F1) - Inline documentation
Nushell completions are enhanced by Carapace, which provides completions for 600+ commands including git, docker, kubectl, and npm.
Vi Keybindings
Familiar vim-like editing:- Normal mode:
EscorCtrl+[ - Insert mode:
i,a,A, etc. - Visual mode: Indicated by cursor shape
- Command mode:
/for search
History with Atuin
Searchable, syncable shell history:Customization
Changing the Theme
Edit the$env.config.color_config in config.nu:
Adding Custom Commands
Create reusable functions:Modifying Keybindings
Customize keybindings in thekeybindings section of config.nu:
Integration with Tools
Starship Prompt
Configured via~/.config/starship.toml with Gentleman palette:
starship.toml:22
Zoxide (Smart CD)
FZF Integration
Custom commands for fuzzy finding:Tips & Tricks
Troubleshooting
Completions Not Working
Starship Not Loading
Tmux Not Starting
Editconfig.nu to disable auto-start:
Learning Resources
Nushell Book
Official Nushell documentation and guide
Nu Scripts
Community scripts and examples
Nushell Discord
Active community support
Awesome Nu
Curated resources and tools
Next Steps
- Explore Starship configuration for prompt customization
- Configure Tmux for better session management
- Set up Neovim as your
$EDITOR