aboutsummaryrefslogtreecommitdiff
path: root/contrib/snap/wallet.bash
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/snap/wallet.bash')
-rwxr-xr-xcontrib/snap/wallet.bash6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/snap/wallet.bash b/contrib/snap/wallet.bash
new file mode 100755
index 000000000..04aa6c525
--- /dev/null
+++ b/contrib/snap/wallet.bash
@@ -0,0 +1,6 @@
+#!/bin/bash -e
+
+export HOME=${SNAP_USER_DATA}
+cd ${SNAP_USER_DATA}
+
+exec ${SNAP}/usr/bin/rlwrap ${SNAP}/bin/monero-wallet-cli "$@"