diff --git a/.gitconfig b/.gitconfig index 602a996..7f06dbf 100644 --- a/.gitconfig +++ b/.gitconfig @@ -24,7 +24,7 @@ prunetags = true [alias] - adog = log --all --decorate --oneline --graph + adog ="!git-graph --model none --color=always | LESS='-R' less" fl = push --force-with-lease prune-branches = "!git fetch -p && git branch -vv | grep ': gone]' | awk '{print $1}' | xargs -r git branch -d" show-last-commit = diff HEAD^ diff --git a/.gitignore b/.gitignore index 8a85851..c676ac4 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,6 @@ # Include Resource !Resources/ + +# Include local +!.local/ diff --git a/.local/.gitignore b/.local/.gitignore new file mode 100644 index 0000000..dbfaec0 --- /dev/null +++ b/.local/.gitignore @@ -0,0 +1,6 @@ +# Ignore Everything By Default +/* +!.gitignore + +# Include Share +!share/ diff --git a/.local/share/.gitignore b/.local/share/.gitignore new file mode 100644 index 0000000..a258f7d --- /dev/null +++ b/.local/share/.gitignore @@ -0,0 +1,6 @@ +# Ignore Everything By Default +/* +!.gitignore + +# Include dotfiles +!dotfiles/ diff --git a/.local/share/dotfiles/dependencies/git.sh b/.local/share/dotfiles/dependencies/git.sh new file mode 100644 index 0000000..a21d90c --- /dev/null +++ b/.local/share/dotfiles/dependencies/git.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +cargo install git-graph diff --git a/.zshrc b/.zshrc index 25280e3..6a3fd43 100644 --- a/.zshrc +++ b/.zshrc @@ -11,6 +11,9 @@ zinit snippet OMZP::colored-man-pages zinit light zsh-users/zsh-autosuggestions zinit light zdharma-continuum/fast-syntax-highlighting +autoload -Uz compinit +compinit + # Oh My Posh ######################################################### export PATH=$PATH:"$HOME/.local/bin"