My personal dotfiles for shell configuration, focusing on nushell with starship prompt.
powershell -c "irm https://raw.githubusercontent.com/dajooo/dotfiles/main/install.ps1 | iex"
curl -fsSL https://raw.githubusercontent.com/dajooo/dotfiles/main/install.sh | bash
The installer will:
- Check for required dependencies
- Ask for confirmation before installing anything
- Clone the repository to ~/.dotfiles
- Install and configure nushell and starship
- Set up appropriate configuration for your platform
The installer will check for and offer to install these dependencies:
- Git
- Windows Terminal (recommended)
- Winget (for package installation)
- Git
- Curl
- Wget
- Sudo (with appropriate permissions)
-
Nushell configuration with:
- Clean, minimal setup
- Starship prompt integration
- Git aliases and helpers
- Development utilities
-
Windows-specific:
- Windows Terminal integration
- Nushell set as default profile
-
Unix-specific:
- Optional default shell configuration
- Full starship integration
If you prefer to install manually:
-
Clone the repository:
git clone https://github.com/dajooo/dotfiles.git ~/.dotfiles cd ~/.dotfiles
-
Run the installation:
- Windows:
.\apply.ps1
- Unix:
./apply.sh
- Windows:
The dotfiles can be updated by running the install script again (it will ask for confirmation), or manually:
cd ~/.dotfiles
git pull
./apply.sh # or .\apply.ps1 on Windows
To remove the configuration:
- Windows:
.\unapply.ps1
- Unix:
./unapply.sh
The uninstall process will:
- Ask for confirmation before proceeding
- Prompt for each symlink removal (with option to remove all)
- Optionally uninstall nushell if requested
You can use the 'all' option during symlink removal to skip individual confirmations.