X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2759bfac85a8a30d9c41cae1f4016c0eaaf416b3..002c3c665289b52eb20fd899fd3561e7f9d9e073:/scripts/env diff --git a/scripts/env b/scripts/env index ebd2dac38..24d4bec64 100755 --- a/scripts/env +++ b/scripts/env @@ -96,13 +96,13 @@ env_do_reset() { env_list() { env_init - git branch | grep -vE '^. master$' + git branch --color | grep -vE '^. master$' } env_diff() { env_init env_sync_data - git diff --cached + git diff --cached --color env_link_config } @@ -192,7 +192,7 @@ env_new() { fi git checkout -b "$1" "$from" if [ -f "$BASEDIR/.config" -o -d "$BASEDIR/files" ]; then - if ask_bool 1 "Do you want to keep your current config and files?"; then + if ask_bool 1 "Do you want to start your configuration repository with the current configuration?"; then [ -d "$BASEDIR/files" -a \! -L "$BASEDIR/files" ] && { mkdir -p "$ENVDIR/files" shopt -s dotglob