Actualización

This commit is contained in:
perro tuerto 2023-06-12 09:47:49 -07:00
parent cfebc94262
commit 5571ad218d
1 changed files with 6 additions and 2 deletions

View File

@ -236,9 +236,13 @@ aliases () {
;; ;;
guardar | save) guardar | save)
if [ -f "$OZSH_ALIAS" ]; then if [ -f "$OZSH_ALIAS" ]; then
cp -u $OZSH_ALIAS $RLOC_ALIAS if [ ! -L "$OZSH_ALIAS" ]; then
cp -u $OZSH_ALIAS $RLOC_ALIAS
fi
else else
cp -u $BASH_ALIAS $RLOC_ALIAS if [ ! -L "$OZSH_ALIAS" ]; then
cp -u $BASH_ALIAS $RLOC_ALIAS
fi
fi fi
git -C $(parent $RLOC_ALIAS) add . git -C $(parent $RLOC_ALIAS) add .
git -C $(parent $RLOC_ALIAS) commit -m "Actualización" git -C $(parent $RLOC_ALIAS) commit -m "Actualización"