aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-09-21 15:00:41 +0200
committerOscar Najera <hi@oscarnajera.com>2023-09-21 15:19:23 +0200
commita3b8c3406c1f6259e19f033f6ef340f1a6b5958d (patch)
treeaf659ea58859a10cdc55b36c96e0ae085e517709
parentcce817c63fe2b54adbad6c00ce883e5ed4e3f7cf (diff)
downloaddotfiles-a3b8c3406c1f6259e19f033f6ef340f1a6b5958d.tar.gz
dotfiles-a3b8c3406c1f6259e19f033f6ef340f1a6b5958d.tar.bz2
dotfiles-a3b8c3406c1f6259e19f033f6ef340f1a6b5958d.zip
byteplant config
git conf user make emacs tramp work
-rw-r--r--home-dots/dot-bashrc2
-rw-r--r--home-dots/dot-gitconfig4
-rwxr-xr-xinstall.scm3
-rw-r--r--other_configs/byte-gitconfig3
4 files changed, 12 insertions, 0 deletions
diff --git a/home-dots/dot-bashrc b/home-dots/dot-bashrc
index 1641221..8829999 100644
--- a/home-dots/dot-bashrc
+++ b/home-dots/dot-bashrc
@@ -5,6 +5,8 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
+# If emacs tramp or eshell, don't execute any of this
+[[ $TERM == "dumb" ]] && return
HISTSIZE=-1
HISTFILESIZE=-1
diff --git a/home-dots/dot-gitconfig b/home-dots/dot-gitconfig
index 11cff2d..c080709 100644
--- a/home-dots/dot-gitconfig
+++ b/home-dots/dot-gitconfig
@@ -1,3 +1,4 @@
+# -*- mode: conf-unix; -*-
[user]
name = Oscar Najera
email = hi@oscarnajera.com
@@ -21,3 +22,6 @@
cmd = compare $REMOTE $LOCAL png:- | montage -font Liberation-Sans -tile 3x -geometry 400x -label "reference" $LOCAL -label "diff" - -label "current--%f" $REMOTE x:
[diff]
algorithm = histogram
+
+[includeIf "gitdir:~/bytegit/**"]
+ path = ~/bytegit/.gitconfig
diff --git a/install.scm b/install.scm
index 4569bb6..c9e60ec 100755
--- a/install.scm
+++ b/install.scm
@@ -217,6 +217,9 @@
(config-links "gnupg/gpg.conf" "~/.gnupg/gpg.conf" #f)
(config-links "gnupg/gpg-agent.conf" "~/.gnupg/gpg-agent.conf" #f)
(symlink-tree "config" "~/.config")
+ (when (string=? (gethostname) "obp")
+ (config-links "other_configs/byte-gitconfig"
+ "~/bytegit/.gitconfig" #f))
(mail-config)
(shutdown-logging))
diff --git a/other_configs/byte-gitconfig b/other_configs/byte-gitconfig
new file mode 100644
index 0000000..9f0dfa3
--- /dev/null
+++ b/other_configs/byte-gitconfig
@@ -0,0 +1,3 @@
+# -*- mode: conf-unix; -*-
+[user]
+ email = oscar@byteplant.com