-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.shinit
More file actions
38 lines (30 loc) · 1.08 KB
/
.shinit
File metadata and controls
38 lines (30 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Minimal dash configuration for Cursor editor
# Optimized for maximum startup speed while maintaining essential tool access
# Set basic PATH for essential tools
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
# Add Homebrew to PATH on macOS (essential for development tools)
if [ -x /opt/homebrew/bin/brew ]; then
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
# Add pnpm to PATH (matching fish configuration)
export PNPM_HOME="$HOME/Library/pnpm"
export PATH="$PNPM_HOME:$PATH"
# Add bun to PATH (matching fish configuration)
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
# Add Rust/Cargo to PATH
if [ -d "$HOME/.cargo/bin" ]; then
export PATH="$HOME/.cargo/bin:$PATH"
fi
# Add fnm (Fast Node Manager) - dynamic initialization
if command -v fnm >/dev/null 2>&1; then
eval "$(fnm env --shell bash)"
fi
# Add .NET tools to PATH
if [ -d "$HOME/.dotnet/tools" ]; then
export PATH="$HOME/.dotnet/tools:$PATH"
fi
# Only set essential environment variables
export EDITOR=nvim
export VISUAL=nvim
export RIPGREP_CONFIG_PATH="$HOME/.config/ripgrep/ripgreprc"