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-*
|
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*
|
cvim = !yadm cme "config/nvim:" -- $XDG_CONFIG_HOME/nvim/init*
|
||||||
cshell = !yadm cme "config/shell:" -- $CONFIG_SHELLS
|
cshell = !yadm cme "config/shell:" -- $CONFIG_SHELLS
|
||||||
cbin = !yadm cme "bin:" -- $HOME/.local/bin/scripts/
|
cbin = !yadm cme "bin:" -- $HOME/.local/bin
|
||||||
|
|
||||||
# data
|
# data
|
||||||
journal = !git cme "notes/journal:" -- $(git root)/2-standards/notes/journal
|
journal = !git cme "notes/journal:" -- $(git root)/2-standards/notes/journal
|
||||||
|
|
|
@ -82,7 +82,7 @@ gitclone() {
|
||||||
remote=$(gitremote "$@")
|
remote=$(gitremote "$@")
|
||||||
echo $remote
|
echo $remote
|
||||||
git clone $remote ${@:4} || return $?
|
git clone $remote ${@:4} || return $?
|
||||||
cd "$(test $4 && echo $4 || basename ${remote/.git})"
|
cd "$(test $4 && echo $4 || basename ${remote%.git})"
|
||||||
}
|
}
|
||||||
|
|
||||||
gitfork() {
|
gitfork() {
|
||||||
|
|
Loading…
Reference in New Issue