curl -fsSL https://raw.githubusercontent.com/psygreg/sloth-bash/main/install.sh | bash
- Intuitive response: just the file name will run it if executable; run a
*.pyfile with the localvenv/.venvinterpreter when present (without activating it into your shell); or triggerxdg-openfor other cases. - Flatpak redirection: simplifies running flatpak applications from terminal by making
flatpak runobsolete through smart command handling. No moreio.github.kolunmi.Bazaar, justbazaarwill do the trick! - Easily open apps from terminal automatically detaching them with
detach appname. Perfect for usage with something like Quake Terminal for Gnome oryakuake. Also works with flatpak redirection, local executables, and distrobox passthrough. cpandmvhelpers: large same-device file copies can showrsyncprogress; directories without-rare refused (like GNUcp); same-filesystemmvstays a realmv.- Simple file management in your shell: automatic
lsaftercdso you never get lost in your files, and enabled autocd shell option so you can navigate your subdirectories more intuitively. - Most used zsh shortcuts:
md,rd(rmdir),mkcd,take,~and..work like zsh, while you can usecd ...,cd ....andcd .....for the other upwards navigation commands. all: selects all non-hidden files and subdirectories at its location as targets forrd,rm,cpandmv.rm allis interactive;rd allonly removes empty directories.- Better autocompletion with Tab key cycling through all options (Shift+Tab goes backwards when supported).
- FZF shell bindings: if fzf is installed,
sloth-bashenables the standard Bash integration, including fuzzy history search onCtrl+R. - Basic command colors: enables colored output for
ls,dir,vdirandgrep, plus familiar aliases likell,laandl. - Case-insensitive command parsing:
ls,Ls,lSorLS, your command will always work (exact name match, not regex). - Distrobox passthrough: enter your distrobox shell with
distroboxnameand pass commands to your distroboxes runningdistroboxname command(and any additional arguments if needed after). As distroboxes follow the user's~/.bashrcfile, sloth-bash also works from within them!
- Starship is installed by the installer when missing (recommended).
- fzf is installed by the installer when missing.
- Zellij auto-start is opt-in: set
SLOTH_BASH_ZELLIJ=1in your environment before sourcing sloth-bash.
- Install Starship for the complete experience.
- Install fzf if you want the full fuzzy shell bindings.
- Copy sloth-bash to
~/.sloth-bash - Copy alias-list to
~/.alias-list(customize Flatpak aliases here; updates do not overwrite it) - Copy starship.toml to
~/.config/starship.tomlonly if you do not already have one - Add
source ~/.sloth-bashto the end of your~/.bashrcfile
bash tests/run.sh