refactor: reorganize into packages for modular use

This commit is contained in:
mitchell 2026-06-18 19:12:02 -04:00
parent e33c60c7aa
commit fd32e1431c
57 changed files with 0 additions and 66 deletions

View file

@ -1,2 +0,0 @@
#!/usr/bin/env bash
wezterm start -- fish -c jmpv

View file

@ -1,2 +0,0 @@
#!/usr/bin/env fish
rebar

View file

@ -1,2 +0,0 @@
#!/usr/bin/env fish
wezterm start -- fish -c "redisco $argv"

View file

@ -1,2 +0,0 @@
#!/usr/bin/env fish
wezterm start -- fish -c "sesh $argv"

View file

@ -1,2 +0,0 @@
#!/usr/bin/env fish
toglpulse

View file

@ -1,2 +0,0 @@
#!/usr/bin/env bash
wezterm start -- fish -c vban

View file

@ -1,2 +0,0 @@
#!/usr/bin/env bash
wezterm start -- fish -c ytmpv

52
swim
View file

@ -1,52 +0,0 @@
#!/usr/bin/env -S fish --private
set general_help '
A collection of useful functions for this project.
Either run a function like ./swim.fish <function> [arg [arg [...]]
or source the file and run them as commands:
$ source ./swim.fish
$ lint [args]
Run ./swim help <function_name> to see it\'s definition.
'
# Configuration
set src_fish_files \
./install_arch \
./provision_linux \
./sync \
./upgrade_debian \
./**.fish \
./.**.fish
# Commands
function lint -d 'Lint fish scripts'
fish --no-execute $src_fish_files
end
function format -d 'Format fish scripts'
fish_indent --write $src_fish_files
end
# --- execution/help handling ---
function help -a function_name -d 'Displays help for internal function'
if test -n "$function_name"
functions $function_name
else
echo $general_help
end
end
argparse --ignore-unknown h/help -- $argv
if test -n "$_flag_h"
help $argv
else if test -n "$argv"
$argv
else
echo $general_help
end