Compare commits
3 commits
d17b10bf93
...
735d795455
Author | SHA1 | Date | |
---|---|---|---|
735d795455 | |||
faa5bca90f | |||
aaf108ab68 |
3 changed files with 9 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
PREFIX='%C(bold magenta)%h%C(reset)' # hash
|
PREFIX='%C(bold magenta)%h%C(reset)%C(auto)%d%C(reset)' # hash, decorate
|
||||||
SUFFIX='%C(auto)%d%C(reset) %C(dim white)%aN%C(reset)|%C(green)%ar%C(reset)' # branch, author, time
|
SUFFIX='%C(dim white) %aN%C(reset) %C(green) %ar%C(reset)' #author, time
|
||||||
format="$PREFIX %C(bold)%s%C(reset)$SUFFIX"
|
format="$PREFIX %C(bold) %s%C(reset) $SUFFIX"
|
||||||
|
|
||||||
exec git \
|
exec git \
|
||||||
log \
|
log \
|
||||||
|
|
|
@ -9,3 +9,9 @@ export TSM_CONFIG="$XDG_CONFIG_HOME/tsm/config-$(hostname).usu"
|
||||||
|
|
||||||
export MAGIC_ENTER_GIT_COMMAND="$MAGIC_ENTER_OTHER_COMMAND && git status -sb"
|
export MAGIC_ENTER_GIT_COMMAND="$MAGIC_ENTER_OTHER_COMMAND && git status -sb"
|
||||||
export MAGIC_ENTER_OTHER_COMMAND="ls -l ."
|
export MAGIC_ENTER_OTHER_COMMAND="ls -l ."
|
||||||
|
|
||||||
|
# https://github.com/dandavison/delta/issues/1616
|
||||||
|
# https://github.com/ryanoasis/nerd-fonts/issues/1337
|
||||||
|
# make less display nerd-font code points
|
||||||
|
# export LESSUTFCHARDEF='E000-F8FF:p,F0000-FFFFD:p,100000-10FFFD:p'
|
||||||
|
export LESSUTFCHARDEF='23fb-23fe:w,2665:w,2b58:w,e000-e00a:w,e0a0-e0a3:p,e0b0-e0bf:p,e0c0-e0c8:w,e0ca:w,e0cc-e0d7:w,e200-e2a9:w,e300-e3e3:w,e5fa-e6b5:w,e700-e7c5:w,ea60-ec1e:w,ed00-efce:w,f000-f2ff:w,f300-f375:w,f400-f533:w,f0001-f1af0:w'
|
||||||
|
|
Loading…
Reference in a new issue