aboutsummaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/dot_config/git/config.tmpl1
-rw-r--r--home/dot_config/git/excludes2
-rw-r--r--home/dot_config/npm/npmrc.tmpl1
-rw-r--r--home/dot_local/share/bin/executable_=2
4 files changed, 5 insertions, 1 deletions
diff --git a/home/dot_config/git/config.tmpl b/home/dot_config/git/config.tmpl
index cbc2b81..51b207f 100644
--- a/home/dot_config/git/config.tmpl
+++ b/home/dot_config/git/config.tmpl
@@ -2,6 +2,7 @@
defaultBranch = {{ dig "git" "default_branch" "master" . }}
[core]
quotepath = off
+ excludesfile = {{ env "XDG_CONFIG_HOME" }}/git/excludes
[user]
{{- with (dig "git" "email" nil .) }}
email = {{ . }}
diff --git a/home/dot_config/git/excludes b/home/dot_config/git/excludes
new file mode 100644
index 0000000..e2419c8
--- /dev/null
+++ b/home/dot_config/git/excludes
@@ -0,0 +1,2 @@
+.DS_Store
+__MACOSX
diff --git a/home/dot_config/npm/npmrc.tmpl b/home/dot_config/npm/npmrc.tmpl
new file mode 100644
index 0000000..9b8548e
--- /dev/null
+++ b/home/dot_config/npm/npmrc.tmpl
@@ -0,0 +1 @@
+prefix={{ .chezmoi.homeDir }}/.local
diff --git a/home/dot_local/share/bin/executable_= b/home/dot_local/share/bin/executable_=
index 2c4ccf4..7474cf8 100644
--- a/home/dot_local/share/bin/executable_=
+++ b/home/dot_local/share/bin/executable_=
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3 --
+#!/usr/bin/env -S python3 --
from sys import argv as _argv
from os import environ as _environ, path as _path
from math import *