config/shell: mini fixes
This commit is contained in:
parent
61a15f85bb
commit
4bbafa67bb
|
@ -146,7 +146,7 @@
|
|||
cgit = !yadm cme "config/git:" -- $XDG_CONFIG_HOME/git $CONFIG_SHELLS/git $HOME/.local/bin/git-*
|
||||
cvim = !yadm cme "config/nvim:" -- $XDG_CONFIG_HOME/nvim/init*
|
||||
cshell = !yadm cme "config/shell:" -- $CONFIG_SHELLS
|
||||
cbin = !yadm cme "bin:" -- $HOME/.local/bin/scripts/
|
||||
cbin = !yadm cme "bin:" -- $HOME/.local/bin
|
||||
|
||||
# data
|
||||
journal = !git cme "notes/journal:" -- $(git root)/2-standards/notes/journal
|
||||
|
|
|
@ -82,7 +82,7 @@ gitclone() {
|
|||
remote=$(gitremote "$@")
|
||||
echo $remote
|
||||
git clone $remote ${@:4} || return $?
|
||||
cd "$(test $4 && echo $4 || basename ${remote/.git})"
|
||||
cd "$(test $4 && echo $4 || basename ${remote%.git})"
|
||||
}
|
||||
|
||||
gitfork() {
|
||||
|
|
Loading…
Reference in New Issue