summaryrefslogtreecommitdiffstats
path: root/nix-script
AgeCommit message (Collapse)Author
2016-06-19Ensure RC variable passthroughMatthias 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
2015-09-07Fix: Use caller util in mainMatthias Beyer
2015-09-07Rewrite scriptname_to_command helper functionMatthias Beyer
2015-09-07fix: Pass RC_CONFIG and RC_NIXPKGS as environment to scriptsMatthias Beyer
2015-08-01Add debug output when sourcing configMatthias Beyer
2015-08-01Print used config file variablesMatthias Beyer
2015-08-01Add RC variable for tagging flags for tagging in nixpkgs repo on switch commandMatthias Beyer
2015-08-01Add default tagging flags in switch commandMatthias Beyer
2015-08-01Add support for configuration fileMatthias Beyer
2015-07-15Change user irrelevant outputs to dbg outputMatthias Beyer
2015-07-15Add debugging flag in main fileMatthias Beyer
2015-07-11Add documentation to nix-scriptMatthias Beyer
2015-07-10Merge pull request #48 from matthiasbeyer/fix-#42Matthias Beyer
nix-script: Use help text helper functions
2015-07-10nix-script: Use help text helper functionsMatthias Beyer
Fixes #42
2015-07-10Exit bad if there is no commandMatthias Beyer
Fixes #44
2015-07-10Remove old commentMatthias Beyer
2015-07-05Minify checks in mainMatthias Beyer
2015-06-28Fix: move path removing to helperMatthias Beyer
With the path-removing code in the helper function "scriptname_to_command" we have also closed the issue that the help text includes the full path of the command. Close #22
2015-06-28Fix: Remove path from command listMatthias Beyer
Closes #24.
2015-06-06Print $SCRIPT not $COMMAND in verbose modeMatthias Beyer
2015-06-05Use scriptname_to_command() in nix-script callerMatthias Beyer
2015-06-05Revert "We don't need to shift here"Matthias Beyer
This reverts commit b12c8e040857b5732283369ad5674ed9eb0f2c75.
2015-06-05Add utility script for more DRY codeMatthias Beyer
2015-06-05We don't need to shift hereMatthias Beyer
2015-06-05Remove config file fooMatthias Beyer
2015-06-05Break as soon as command is foundMatthias Beyer
2015-03-18Fix shebang for NixOSMatthias Beyer
2015-02-22Merge pull request #6 from matthiasbeyer/list-scriptsMatthias Beyer
Made command listing better by removing pre/suffixes
2015-02-17Dont print the "I do not override my defaults" massage if not in verbose modeMatthias Beyer
2015-02-17Made command listing better by removing pre/suffixesMatthias Beyer
2015-02-11Rename: nix-script.sh -> nix-scriptMatthias Beyer