From bed696c5437ff2cf9d5b084889d680f3014ca42b Mon Sep 17 00:00:00 2001 From: m455 Date: Tue, 17 Apr 2018 23:20:58 -0400 Subject: [PATCH] added a wrapper for ~/bin --- wrapper-example | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 wrapper-example diff --git a/wrapper-example b/wrapper-example new file mode 100755 index 0000000..f901097 --- /dev/null +++ b/wrapper-example @@ -0,0 +1,31 @@ +#!/usr/bin/env bash +# +# Running rodo from anywhere on your system +# ========================================= +# +# +-------------------------------------------------------+ +# | If you want to use rodo from your $PATH or ~/bin | +# |-------------------------------------------------------| +# | `cp` this file to your ~/bin and rename it `rodo` | +# | then make it executable: | +# | | +# | cp wrapper-example ~/bin/rodo && chmod u+x ~/bin/rodo | +# +-------------------------------------------------------+ +# +# +------------------------------------------------------------+ +# | If you don't know how to set up your $PATH: | +# |------------------------------------------------------------| +# | Add `export PATH=~/bin:$PATH` to your ~/.bashrc then | +# | make a ~/bin foloder: | +# | | +# | echo "export PATH=~/bin:$PATH" >> ~/.bashrc && mkdir ~/bin | +# | | +# | After doing this, follow the instructions above this box | +# +------------------------------------------------------------+ +# +# +-----------------------------------------------------+ +# | note: don't forget to change the path in the middle | +# | to where you keep the actual rodo program | +# +-----------------------------------------------------+ + +racket ~/projects/rodo/rodo.rkt "$@"