diff --git a/cmd/init.go b/cmd/init.go
index ad4a7358801fb28ac28bd221d677788277321059..384080ad63d50f95e70160aab5a68461fe6e8737 100644
--- a/cmd/init.go
+++ b/cmd/init.go
@@ -19,7 +19,6 @@ import (
 	"fmt"
 	"os"
 	"path"
-	"path/filepath"
 
 	"github.com/ksonnet/kubecfg/metadata"
 	"github.com/ksonnet/kubecfg/pkg/kubecfg"
@@ -46,7 +45,7 @@ var initCmd = &cobra.Command{
 		}
 
 		appName := args[0]
-		appDir, err := filepath.Abs(filepath.Dir(os.Args[0]))
+		appDir, err := os.Getwd()
 		if err != nil {
 			return err
 		}