mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-20 17:14:28 +01:00
bashrc & zshrc: point to new repository
If ~/.shell-things exists, the `shell-things` function will change upstream to Mikaela/shell-things.
This commit is contained in:
parent
113b794be8
commit
79924dc542
1
bashrc
1
bashrc
@ -692,6 +692,7 @@ export SHELL_THINGS_REPO=$HOME/.shell-things
|
|||||||
|
|
||||||
# Check if ~/.shell-things exists and cd and pull.
|
# Check if ~/.shell-things exists and cd and pull.
|
||||||
if [ -d $SHELL_THINGS_REPO ]; then
|
if [ -d $SHELL_THINGS_REPO ]; then
|
||||||
|
git remote set-url origin https://github.com/Mikaela/shell-things.git
|
||||||
echo "shell-things: $SHELL_THINGS_REPO exists, git pulling..."
|
echo "shell-things: $SHELL_THINGS_REPO exists, git pulling..."
|
||||||
echo ""
|
echo ""
|
||||||
cd $SHELL_THINGS_REPO
|
cd $SHELL_THINGS_REPO
|
||||||
|
1
zshrc
1
zshrc
@ -665,6 +665,7 @@ export SHELL_THINGS_REPO=$HOME/.shell-things
|
|||||||
|
|
||||||
# Check if ~/.shell-things exists and cd and pull.
|
# Check if ~/.shell-things exists and cd and pull.
|
||||||
if [ -d $SHELL_THINGS_REPO ]; then
|
if [ -d $SHELL_THINGS_REPO ]; then
|
||||||
|
git remote set-url origin https://github.com/Mikaela/shell-things.git
|
||||||
echo "shell-things: $SHELL_THINGS_REPO exists, git pulling..."
|
echo "shell-things: $SHELL_THINGS_REPO exists, git pulling..."
|
||||||
echo ""
|
echo ""
|
||||||
cd $SHELL_THINGS_REPO
|
cd $SHELL_THINGS_REPO
|
||||||
|
Loading…
Reference in New Issue
Block a user