]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - setup.sh
tigrc: Add. Tig is the console equivalent of gitk.
[config/dotfiles.git] / setup.sh
index a530d1fe260f00595f658987f61fdad76e7c7000..abdbc652f51d3590d9d0e7a7f585380900e0ed8c 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -5,11 +5,13 @@
 
 . ../lib.sh
 
-# Generate gitconfig.
-m4 gitconfig -DGITIGNORE=`pwd`/gitignore -DOS=`os`
-
-# Link setup.
+generate m4 gitconfig -DGITIGNORE=`pwd`/gitignore -DOS=`os`
 link gitconfig ~/.gitconfig
+
+if installed tig; then
+    link tigrc ~/.tigrc
+fi
+
 if installed hg; then
     link hgrc ~/.hgrc
     link hgignore ~/.hgignore