Compare commits

..

3 commits

Author SHA1 Message Date
735d795455
idk if I like this one either 2024-08-16 14:04:31 -05:00
faa5bca90f
rename with .nu 2024-08-16 14:04:20 -05:00
aaf108ab68
fix weird less behavior 2024-08-16 14:04:14 -05:00
3 changed files with 9 additions and 3 deletions

View file

@ -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 \

View file

@ -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'