Tabs in .gitconfig

This commit is contained in:
Sage Vaillancourt 2024-01-22 14:04:24 -05:00
parent 5e0f4cfcc0
commit 6d675d03b4
3 changed files with 12 additions and 16 deletions

View File

@ -1,4 +1,3 @@
add_newline = true
format = """ format = """
$git_status\ $git_status\
${custom.username}\ ${custom.username}\

View File

@ -3,27 +3,27 @@
email = sage@sagev.space email = sage@sagev.space
[core] [core]
autocrlf = input autocrlf = input
excludesfile = ~/.gitignore excludesfile = ~/.gitignore
hooksPath = ~/.githooks hooksPath = ~/.githooks
[credential] [credential]
helper = store helper = store
[push] [push]
default = current default = current
followTags = true followTags = true
[help] [help]
autocorrect = 1 autocorrect = 1
[include] [include]
path = ~/.gitlocal path = ~/.gitlocal
[init] [init]
defaultBranch = main defaultBranch = main
[commit] [commit]
verbose = true verbose = true
[pull] [pull]
rebase = false rebase = false
[protocol "file"] [protocol "file"]

View File

@ -38,7 +38,7 @@ fi
export PATH=~/.bin:$HOME/.dotnet:~/.local/bin:/usr/local/go/bin:$PATH export PATH=~/.bin:$HOME/.dotnet:~/.local/bin:/usr/local/go/bin:$PATH
fignore=(o) fignore=(o class swp)
function SetTtyColors() { function SetTtyColors() {
echo -en "\e]P0""2c2d27" # black 1 echo -en "\e]P0""2c2d27" # black 1
@ -87,10 +87,6 @@ if which starship &> /dev/null; then
eval "$(starship init zsh)" eval "$(starship init zsh)"
fi fi
if test -f ~/.cargo/env; then
source ~/.cargo/env
fi
last_get_file="/tmp/.$(whoami)-dotfiles-last-get" last_get_file="/tmp/.$(whoami)-dotfiles-last-get"
current_date="$(date '+%Y-%m-%d')" current_date="$(date '+%Y-%m-%d')"
if test -d "$DOT_DIR" && [[ "$current_date" != "$(cat "$last_get_file")" ]] &> /dev/null; then if test -d "$DOT_DIR" && [[ "$current_date" != "$(cat "$last_get_file")" ]] &> /dev/null; then
@ -104,3 +100,4 @@ export NVM_DIR="$HOME/.nvm"
test -f /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh && source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh test -f /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh && source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
test -f "$HOME/.asdf/asdf.sh" && . "$HOME/.asdf/asdf.sh" test -f "$HOME/.asdf/asdf.sh" && . "$HOME/.asdf/asdf.sh"
test -f ~/.cargo/env && source ~/.cargo/env