testing..

This commit is contained in:
pika 2024-05-22 18:43:38 +02:00
parent 3e36e72a8e
commit fda25dfc7b
2 changed files with 5 additions and 3 deletions

View file

@ -8,8 +8,10 @@ end
# │ If you have any questions, check the git page at: │
# │ https://git.k4li.de/pika/fish.git │
# ╰───────────────────────────────────────────────────╯
# ─────────────────────────────────< Environment-Variables >───────────────────────────────
# ────────────────────────────────────────< sources >──────────────────────────────────────
source ./functions/git.fish
# ─────────────────────────────────< Environment-Variables >───────────────────────────────
set -p EDITOR (which nvim)
# ─────────────────────────< START | distro/packagemanger detection >─────────────────────────
@ -161,7 +163,7 @@ if command -v git >/dev/null 2>&1
alias gc='git clone --recurse-submodule'
alias ga='git add'
alias gp='git pull --recurse-submodule'
alias gsu='git submodule foreach git pull && git add . && git commit -m " updated 📌submodules" && echo "-- Committed changes, pushing now.." && sleep 2 && git push'
alias gsu='git submodule foreach git pull && git add . && git commit -m " updated 📌submodules" && echo "-- Committed changes, pushing now.." && sleep 1.5 && git push'
alias gcm='git commit -m'
alias gpu='git push --recurse-submodule=on-demand'
end

View file

@ -3,7 +3,7 @@ function gsa
read repo
echo "-- enter the branch to checkout (main/master..) --"
read branch
echo "-- enter the relative path, where the submodule will be cloned to. (don't use fist /) --"
echo "-- enter the relative path, where the submodule will be cloned to. (don't use fist / or ./) --"
read -S path
echo "git submodule add --branch $branch --name $path $repo"
end