Created
April 16, 2018 05:54
-
-
Save dalgu90/babdb6e07eda5b5685932d05c58cf471 to your computer and use it in GitHub Desktop.
Install vmtouch on local path
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
PREFIX="$HOME/.local/" | |
install_vmtouch() { | |
# The project page of linux "vmtouch" command is located at https://github.com/hoytech/vmtouch | |
TMP_VMTOUCH_DIR="/tmp/$USER/vmtouch"; mkdir -p $TMP_VMTOUCH_DIR | |
cd $TMP_VMTOUCH_DIR | |
git clone https://github.com/hoytech/vmtouch.git | |
cd vmtouch | |
make | |
mv -v vmtouch "$PREFIX/bin" | |
# Maybe $PREFIX/bin was added to $PATH, if you run the wookayin/dotfiles script | |
# echo "export PATH=$PREFIX/bin:$PATH" | |
} | |
install_vmtouch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment