Skip to content

korpselgbt/flux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flux Shell

A modern, blazingly fast shell written in Rust

License: MIT Rust

Features

  • Rich Customization
    • Multiple theme presets (minimal, full, powerline)
    • Configurable prompt elements
    • Custom color schemes
  • Modern Experience
    • Git integration
    • Smart path aliases
    • Command history
    • Execution time tracking
  • Performance Focused
    • Built in Rust for speed and reliability
    • Minimal resource usage
  • Developer Friendly
    • Environment management
    • Intuitive configuration
    • Extensive documentation

Quick Start

Installation

# Clone the repository
git clone https://github.com/chocoOnEstrogen/flux.git
cd flux

# Build and install
cargo build --release
cargo install --path .

Basic Usage

# Start Flux
flux

# Navigate with smart aliases
flux λ @docs     # Jump to Documents
flux λ @dl       # Jump to Downloads

# Git integration
flux λ cd ~/projects
flux λ git checkout -b feature
(feature) flux λ 

Configuration

Flux uses a JSON configuration file located at:

  • 🐧 Unix: $XDG_CONFIG_HOME/rip.choco.flux/config.fl
  • 🪟 Windows: %APPDATA%\rip.choco.flux\config.fl

Theme Presets

  1. Minimal - Clean and simple
#minimal
  1. Full (Default) - Rich features
{
  "prompt_template": "[{time}] {user}@{host} {dir} {git}\nλ ",
  "show_git_branch": true,
  "show_time": true
}
  1. Powerline - Enhanced visuals
#powerline

Documentation

Built-in Commands

Command Description
cd [DIR] Change directory
pwd Print working directory
env Manage environment variables
clear Clear screen
exit Exit shell
alias List aliases

Contributing

Contributions are welcome! Here's how you can help:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'feat: add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Please read our Contributing Guide for details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Inspired by modern shells like Fish and Zsh
  • Built with Rust and ❤️

Author

chocoOnEstrogen

About

An advanced, customizable shell for modern systems

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project