Browse Source

virtual-machines: improve macemu/nextemu interface

master
Alison Watson 2 years ago
parent
commit
c3b4f2161d
2 changed files with 6 additions and 2 deletions
  1. +3
    -1
      scripts/fish/vm-macemu
  2. +3
    -1
      scripts/fish/vm-nextemu

scripts/fish/macemu → scripts/fish/vm-macemu View File

@@ -1,6 +1,6 @@
# vim: syntax=fish:

function macemu -d "Frontend to SheepShaver and BasiliskII" -a arch cfg
function vm-macemu -d "Frontend to SheepShaver and BasiliskII" -a arch cfg
switch "$arch"
case m68k
set config ~/.basilisk_ii_prefs
@@ -22,4 +22,6 @@ function macemu -d "Frontend to SheepShaver and BasiliskII" -a arch cfg
$executable
end

complete -c vm-macemu -xa "(ls $_agw_dir_rc/virtual-machines/MacEmu)"

## EOF

scripts/fish/nextemu → scripts/fish/vm-nextemu View File

@@ -1,6 +1,6 @@
# vim: syntax=fish:

function nextemu -d "Frontend to Previous" -a cfg
function vm-nextemu -d "Frontend to Previous" -a cfg
set config ~/.previous/previous.cfg

touch $config
@@ -16,4 +16,6 @@ function nextemu -d "Frontend to Previous" -a cfg
Previous
end

complete -c vm-nextemu -xa "(ls $_agw_dir_rc/virtual-machines/NeXT)"

## EOF

Loading…
Cancel
Save