summaryrefslogtreecommitdiffstats
path: root/nix-script
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2015-09-18 19:23:05 +0200
committerMatthias Beyer <mail@beyermatthias.de>2015-09-18 19:23:05 +0200
commit94bf820fc9c85effddb7214a9f0b0a154f23466f (patch)
tree3ecc6a295d8a7cfe74ac945210ebc3748bc2ba6a /nix-script
parent0cfdf27ff951306458502e049dda1ad0748bb830 (diff)
parent17e59dbadbff1c8d68b794aa77fe3002e6362375 (diff)
Merge pull request #71 from matthiasbeyer/add-repl
Add repl
Diffstat (limited to 'nix-script')
-rwxr-xr-xnix-script16
1 files changed, 0 insertions, 16 deletions
diff --git a/nix-script b/nix-script
index 3860f20..5bdfe15 100755
--- a/nix-script
+++ b/nix-script
@@ -25,15 +25,6 @@ VERBOSE=0
source $(dirname ${BASH_SOURCE[0]})/nix-utils.sh
-#
-# Get the name of the script file for the command passed as argument
-#
-# Does not check whether the file exists.
-#
-script_for() {
- echo "$(dirname ${BASH_SOURCE[0]})/nix-script-${1}.sh"
-}
-
SHIFT_ARGS=0
#
@@ -56,13 +47,6 @@ shift_n() {
}
#
-# List all available commands
-#
-all_commands() {
- find $(dirname ${BASH_SOURCE[0]}) -type f -name "nix-script-*.sh"
-}
-
-#
# Parse the arguments for this script
#
for cmd