You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
532 B

# Build mcfly and run a dev environment fish for local mcfly testing
this_dir=$(cd `dirname "$0"`; pwd)
# Setup for local testing.
mkdir -p $this_dir/.fish
rm -f target/debug/mcfly
cargo build
# For some reason, to get line numbers in backtraces, we have to run the binary directly.
XDG_DATA_HOME=$this_dir/.fish \
MCFLY_PATH=target/debug/mcfly \
PATH=target/debug/:$PATH \
exec /usr/bin/env fish -i --init-command "source $this_dir/; and mcfly_key_bindings"