forked from Snoweuph/Dotfiles
Improve auto complete and add a new dir for dependency install scripts
This commit is contained in:
parent
628f5d1f90
commit
bbfdfb16ec
6 changed files with 22 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
||||||
prunetags = true
|
prunetags = true
|
||||||
|
|
||||||
[alias]
|
[alias]
|
||||||
adog = log --all --decorate --oneline --graph
|
adog ="!git-graph --model none --color=always | LESS='-R' less"
|
||||||
fl = push --force-with-lease
|
fl = push --force-with-lease
|
||||||
prune-branches = "!git fetch -p && git branch -vv | grep ': gone]' | awk '{print $1}' | xargs -r git branch -d"
|
prune-branches = "!git fetch -p && git branch -vv | grep ': gone]' | awk '{print $1}' | xargs -r git branch -d"
|
||||||
show-last-commit = diff HEAD^
|
show-last-commit = diff HEAD^
|
||||||
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -27,3 +27,6 @@
|
||||||
|
|
||||||
# Include Resource
|
# Include Resource
|
||||||
!Resources/
|
!Resources/
|
||||||
|
|
||||||
|
# Include local
|
||||||
|
!.local/
|
||||||
|
|
6
.local/.gitignore
vendored
Normal file
6
.local/.gitignore
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# Ignore Everything By Default
|
||||||
|
/*
|
||||||
|
!.gitignore
|
||||||
|
|
||||||
|
# Include Share
|
||||||
|
!share/
|
6
.local/share/.gitignore
vendored
Normal file
6
.local/share/.gitignore
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# Ignore Everything By Default
|
||||||
|
/*
|
||||||
|
!.gitignore
|
||||||
|
|
||||||
|
# Include dotfiles
|
||||||
|
!dotfiles/
|
3
.local/share/dotfiles/dependencies/git.sh
Normal file
3
.local/share/dotfiles/dependencies/git.sh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cargo install git-graph
|
3
.zshrc
3
.zshrc
|
@ -11,6 +11,9 @@ zinit snippet OMZP::colored-man-pages
|
||||||
zinit light zsh-users/zsh-autosuggestions
|
zinit light zsh-users/zsh-autosuggestions
|
||||||
zinit light zdharma-continuum/fast-syntax-highlighting
|
zinit light zdharma-continuum/fast-syntax-highlighting
|
||||||
|
|
||||||
|
autoload -Uz compinit
|
||||||
|
compinit
|
||||||
|
|
||||||
# Oh My Posh
|
# Oh My Posh
|
||||||
#########################################################
|
#########################################################
|
||||||
export PATH=$PATH:"$HOME/.local/bin"
|
export PATH=$PATH:"$HOME/.local/bin"
|
||||||
|
|
Loading…
Reference in a new issue