summaryrefslogtreecommitdiffstats
path: root/nix-script-repl.sh
AgeCommit message (Collapse)Author
2015-09-16Add builtin "exit" with ability to "exit 1"Matthias Beyer
2015-09-14Shorten: __builtin__()Matthias Beyer
2015-09-14Switch login for __builtin__()Matthias Beyer
2015-09-14Add builtin: debuggingMatthias Beyer
2015-09-14Add builtin: verbosity setterMatthias Beyer
2015-09-14Add callback helper for builtinsMatthias Beyer
2015-09-14Add: nix-script replMatthias Beyer
This is a combination of 23 commits: * Add first draft for nix-shell repl * Remove functions which are in nix-utils.sh * Minify if-then-exit * Remove sudo run... why do I actually have this? * Include helpers * Add help text * Remove old arguments in parsing code * Dont print on stderr, do debugging output here * Remove explain checker, use dbg() as output function * Fix checker * Use bash to print * Use "exit" or "quit" to exit nix-repl * Remove doubled caller code * Move: script_for() function to helpers * Remove old variables * Fix bash call * move all_commands() function to nix-utils.sh * Formatted and extended all_commands() function * Lists executables only. * Shorten error message * Add helper to check whether a string contains a string * Add possibility to execute simple bash commands in repl * The more debug output, the better * More things, we should really squash this stuff