From bbfdfb16ec93cd9a9f29373b47d7aa1de8e3a097 Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Fri, 18 Oct 2024 23:43:41 +0200 Subject: [PATCH] Improve auto complete and add a new dir for dependency install scripts --- .gitconfig | 2 +- .gitignore | 3 +++ .local/.gitignore | 6 ++++++ .local/share/.gitignore | 6 ++++++ .local/share/dotfiles/dependencies/git.sh | 3 +++ .zshrc | 3 +++ 6 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 .local/.gitignore create mode 100644 .local/share/.gitignore create mode 100644 .local/share/dotfiles/dependencies/git.sh 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"