Actualización
This commit is contained in:
parent
3d7e3a8674
commit
cfebc94262
10
aliases.sh
10
aliases.sh
|
@ -236,13 +236,13 @@ aliases () {
|
||||||
;;
|
;;
|
||||||
guardar | save)
|
guardar | save)
|
||||||
if [ -f "$OZSH_ALIAS" ]; then
|
if [ -f "$OZSH_ALIAS" ]; then
|
||||||
cp $OZSH_ALIAS $RLOC_ALIAS
|
cp -u $OZSH_ALIAS $RLOC_ALIAS
|
||||||
else
|
else
|
||||||
cp $BASH_ALIAS $RLOC_ALIAS
|
cp -u $BASH_ALIAS $RLOC_ALIAS
|
||||||
fi
|
fi
|
||||||
cd $(dirname $RLOC_ALIAS)
|
git -C $(parent $RLOC_ALIAS) add .
|
||||||
# git add . && git commit -m "Actualización" && git push
|
git -C $(parent $RLOC_ALIAS) commit -m "Actualización"
|
||||||
cd $(parent)
|
git -C $(parent $RLOC_ALIAS) push
|
||||||
;;
|
;;
|
||||||
enlazar | link)
|
enlazar | link)
|
||||||
if [ -f "$RLOC_ALIAS" ]; then
|
if [ -f "$RLOC_ALIAS" ]; then
|
||||||
|
|
Loading…
Reference in New Issue