Skip to content

quixaq/presetable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

presetable

A tool for command alias presets

Usage

> presetable help
A tool for command alias presets

Usage: presetable <COMMAND>

Commands:
  preset  Change the active preset
  run     Run a command from the preset
  help    Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

Installation

cargo

cargo install presetable

Manual build

cargo build --release
# The file will be in ./target/release/presetable

NixOS

Add presetable to your nix flake inputs:

inputs.presetable.url = "github:quixaq/presetable";

Include the package in your config:

environment.systemPackages = [ inputs.presetable.packages.${pkgs.system}.default ];

Configuration

config.toml

An example configuration can be seen in config.toml.example. Put it under ~/.config/presetable/config.toml

NixOS(via Home Manager)

xdg.configFile."presetable/config.toml".text = ''
  # include the config.toml here
'';

About

A tool for command alias presets

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors