set_quilt_vars.fish 728 B

1234567891011121314151617181920
  1. #!/bin/fish
  2. # Fish variant of set_quilt_vars.sh
  3. alias quilt='quilt --quiltrc -'
  4. set REPO_ROOT (dirname (dirname (readlink -f (status current-filename))))
  5. set -gx QUILT_PATCHES "$REPO_ROOT/patches"
  6. set -gx QUILT_PUSH_ARGS "--color=auto"
  7. set -gx QUILT_DIFF_OPTS "--show-c-function"
  8. set -gx QUILT_PATCH_OPTS "--unified --reject-format=unified"
  9. set -gx QUILT_DIFF_ARGS "-p ab --no-timestamps --no-index --color=auto --sort"
  10. set -gx QUILT_REFRESH_ARGS "-p ab --no-timestamps --no-index --sort --strip-trailing-whitespace"
  11. set -gx QUILT_COLORS "diff_hdr=1;32:diff_add=1;34:diff_rem=1;31:diff_hunk=1;33:diff_ctx=35:diff_cctx=33"
  12. set -gx QUILT_SERIES_ARGS "--color=auto"
  13. set -gx QUILT_PATCHES_ARGS "--color=auto"
  14. set -gx LC_ALL C