config/git: fix ln & sysinit
This commit is contained in:
parent
9c6355bf62
commit
b7d21127e1
|
@ -13,7 +13,7 @@ yc() {
|
|||
|
||||
alias sy="sysyadm"
|
||||
alias sysyadm="sudo yadm -Y /etc/yadm"
|
||||
alias sysinit="sysyadm init -w /; sysyadm config include.path '$XDG_CONFIG_HOME/git/config'"
|
||||
alias sysinit="sysyadm init -b main -w / && sysyadm gitconfig include.path '$XDG_CONFIG_HOME/git/config'"
|
||||
|
||||
gcn() {
|
||||
if test $# -eq 0 || test -e $1
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
set -o pipefail
|
||||
upCount=$(git rev-list --count HEAD...@{push} 2>/dev/null)
|
||||
count=$(expr $a + 3 \& ${upCount:-0} \> 3 \| 6)
|
||||
git --no-pager lo -$count --color=always --graph HEAD @{push} | head -9 || git --no-pager lo -7
|
||||
|
|
Loading…
Reference in New Issue