diff --git a/.bin/luakit-env b/.bin/luakit-env index e9ac579..82e88ad 100755 --- a/.bin/luakit-env +++ b/.bin/luakit-env @@ -1,11 +1,7 @@ #!/bin/sh -# fallback to no config -if [ -z "$HOME/.lenv" ] -then - echo "_env=dev" > $HOME/.lenv - echo "_dir=$HOME/src/luakit-dev" >> $HOME/.lenv -fi +_dir="$1" +shift # load config . $HOME/.lenv @@ -47,12 +43,6 @@ then echo " diff file env - diff file with other environment" echo " update-port - update openbsd port from last commit" echo - echo " other commands:" - echo " ledit - edit this script" - echo " ldev - switch to dev environment (c0dev0id/luakit)" - echo " ltest - switch to test environment (luakit/luakit)" - echo " ltemp - switch to temp environment (luakit/luakit)" - echo fi @@ -76,11 +66,6 @@ then gmake -j1 luakit fi -if [ "$_action" == "debug" ] -then - egdb -ex "break luakit.c:main" -ex "run $@" ./luakit -fi - if [ "$_action" == "reset" ] then if [ "$_env" == "dev" ]