config/shell: mini fixes

This commit is contained in:
xerus2000 2021-01-27 11:29:00 +01:00
parent 61a15f85bb
commit 4bbafa67bb
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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() {