Nushell
Primary interactive shell.
Managed by: nix/home/programs/nushell.nix and the files under nix/home/configs/nushell/
Config Files
| Source file | Purpose |
|---|---|
nix/home/configs/nushell/env.common.nu | Shared PATH, editor, GitHub token, and Claude updater settings |
nix/home/configs/nushell/env.darwin.nu | macOS PATH, Android SDK, and Colima socket |
nix/home/configs/nushell/env.linux.nu | Linux profile PATH |
nix/home/configs/nushell/config.nu | Startup hooks, prompt behavior, and ccc profile selector |
PATH Order (highest to lowest priority)
~/Library/Android/sdk/emulator~/Library/Android/sdk/platform-tools/etc/profiles/per-user/ranolp/bin(nix per-user)~/.local/bin~/.local/share/mise/shims/nix/var/nix/profiles/default/bin(nix default)- Existing
PATH, with Homebrew'sbinandsbinappended on macOS
Environment Variables
| Variable | Value |
|---|---|
ANDROID_HOME | ~/Library/Android/sdk |
GITHUB_TOKEN | gh auth token (auto-populated) |
DOCKER_HOST | unix://~/.colima/default/docker.sock |
EDITOR | nvim |
VISUAL | code --wait |
Aliases
| Alias | Expands To |
|---|---|
cat | bat |
ls | eza --icons=auto --git --group-directories-first --header --time-style=relative |
rebuild | sudo /run/current-system/sw/bin/darwin-rebuild switch --flake ~/.dotfiles/nix#ranolp-work-MBP-26 |
pr | gh pr view -w |
repo | gh repo view -w |
g | git |
gst | git status |
gl | git pull |
gp | git push |
gc | git commit -v |
nix-your-shell
nix develop and nix-shell drop into nushell instead of bash. The nushell snippet is generated at home-manager activation and cached at ~/.cache/nix-your-shell.nu.