1
0
Fork 0

Remove Docker config, add git lg

main
Ambrose Chua 2023-01-31 11:14:13 +08:00
parent 2a0ad0f59d
commit 3cbd7a6cd8
3 changed files with 18 additions and 0 deletions

View File

@ -7,3 +7,5 @@
defaultBranch = main
[pull]
rebase = true
[alias]
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'

1
.gitignore vendored
View File

@ -35,6 +35,7 @@
!.config/yabai
!.config/yadm
.deno/bin
.docker/config.json
.dbus
.esd_auth
.gem

15
.zshrc
View File

@ -7,6 +7,7 @@ HISTFILE=~/.zsh_history
setopt append_history
setopt extended_history
setopt share_history
setopt histignorealldups
setopt histignorespace
setopt longlistjobs
setopt notify
@ -140,6 +141,20 @@ setup_completion() {
autoload -U compinit; compinit
autoload -U +X bashcompinit && bashcompinit
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' auto-description 'specify: %d'
zstyle ':completion:*' completer _expand _complete _correct _approximate
zstyle ':completion:*' format 'Completing %d'
zstyle ':completion:*' group-name ''
zstyle ':completion:*' menu select=2
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=* l:|=*'
zstyle ':completion:*' menu select=long
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
zstyle ':completion:*' use-compctl false
zstyle ':completion:*' verbose true
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
}
slower_functions+=( setup_completion )
setup_completion_more() {