Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
fixes for wsl
Browse files Browse the repository at this point in the history
  • Loading branch information
kwigley committed Mar 19, 2024
1 parent 4640058 commit ac9c7ec
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions dot_gitconfig.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[user]
name = {{ .name }}
email = {{ .email }}
{{ if eq .chezmoi.os "linux" -}}
signingkey = {{ .gpg }}
{{ end -}}
[color]
diff = auto
status = auto
Expand Down Expand Up @@ -54,3 +56,7 @@
[blame]
markIgnoredLines = true
markUnblamableLines = true
{{ if eq .chezmoi.os "linux" -}}
[credential "https://github.com"]
helper = !/usr/bin/gh auth git-credential
{{ end -}}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#wyGkjj ENV vars
# ENV vars
set -gx EDITOR vim
set -gx VISUAL nvim
set -gx GPG_TTY (tty)
Expand All @@ -21,7 +21,10 @@ abbr --add rd 'rm -r'
abbr --add vim nvim
abbr --add htop btop
abbr --add pip 'python -m pip'

{{ if eq .chezmoi.os "darwin" -}}
abbr --add ssh 'kitten ssh'
{{ end -}}

# External Configs
fish_add_path "$HOME/.local/bin"
Expand Down

0 comments on commit ac9c7ec

Please sign in to comment.