Browse Source

do not add txz config when xz is not available

pull/1/head
10sr 11 years ago
parent
commit
7c005f0b80
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      setup.sh

+ 2
- 1
setup.sh View File

@@ -58,7 +58,8 @@ git_config(){
$_gitconfig status.relativePaths false
$_gitconfig status.showUntrackedFiles normal
$_gitconfig log.date iso
$_gitconfig tar.txz.command "xz -c"
type xz && \
$_gitconfig tar.txz.command "xz -c"

$_gitconfig alias.graph "log --graph --date-order -C -M --pretty=tformat:\"%C(green)%h%C(reset) %C(white)%ad%C(reset) %C(red)%an%C(reset)%C(yellow)%d%C(reset) %C(white bold)%s%C(reset)\" --all --date=iso -n 499"
$_gitconfig alias.st "status -s -b"


Loading…
Cancel
Save