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

@ -0,0 +1,24 @@
function editcb -a ft -d 'Opens your editor to the cliboard\'s current contents.'
set uname (uname)
set file "._temp.$ft"
touch $file
switch "$uname"
case 'Linux'
xclip -out -selection clipboard >$file
case 'Darwin'
pbpaste >$file
end
$EDITOR $file
switch "$uname"
case 'Linux'
xclip -in -selection clipboard <$file
case 'Darwin'
pbcopy <$file
end
rm $file
end