scripts/fish/vm-nextemu

22 lines
390 B
Plaintext
Raw Permalink Normal View History

2019-08-18 06:26:48 -07:00
#!/usr/bin/env fish
2019-07-27 08:11:50 -07:00
function vm-nextemu -d "Frontend to Previous" -a cfg
2019-07-27 08:11:50 -07:00
set config ~/.previous/previous.cfg
touch $config
2019-07-27 08:11:50 -07:00
chmod u+w $config
2019-08-19 06:40:45 -07:00
$_agw_dir_rc/text/merge-ini \
$_agw_dir_rc/virtual-machines/NeXT/common \
$_agw_dir_rc/virtual-machines/NeXT/$cfg \
$config
2019-07-27 08:11:50 -07:00
chmod -w $config
Previous
end
complete -c vm-nextemu -xa "(ls $_agw_dir_rc/virtual-machines/NeXT)"
2019-07-27 08:11:50 -07:00
## EOF