addet lazygit alias

This commit is contained in:
pika 2024-06-10 11:30:20 +02:00
parent 8bf0cbbe72
commit 781cd9fd5d

View file

@ -19,6 +19,12 @@ dep_fisher
# ─────────────────────────────────< Environment-Variables >─────────────────────────────── # ─────────────────────────────────< Environment-Variables >───────────────────────────────
set -p EDITOR (which nvim) set -p EDITOR (which nvim)
if command -v codium >/dev/null 2>&1
alias code="codium"
set -e EDITOR
set -p EDITOR codium
end
# ─< colorized ls >───────────────────────────────────────────────────────────────────────── # ─< colorized ls >─────────────────────────────────────────────────────────────────────────
# ─< lsd >────────────────────────────────────────────────────────────────────────────────── # ─< lsd >──────────────────────────────────────────────────────────────────────────────────
if command -v lsd >/dev/null 2>&1 if command -v lsd >/dev/null 2>&1
@ -118,6 +124,9 @@ if command -v git >/dev/null 2>&1
alias gsu="git pull --recurse-submodule && git submodule foreach git pull && git add . && git commit -m ' updated 📌submodules' && echo '-- Committed changes, pushing now..' && sleep 1 && git push" alias gsu="git pull --recurse-submodule && git submodule foreach git pull && git add . && git commit -m ' updated 📌submodules' && echo '-- Committed changes, pushing now..' && sleep 1 && git push"
alias gcm="git commit -m" alias gcm="git commit -m"
alias gpu="git push --recurse-submodule=on-demand" alias gpu="git push --recurse-submodule=on-demand"
if command -v lazygit >/dev/null 2>&1
alias lg="lazygit"
end
end end
# ─< fastfetch >──────────────────────────────────────────────────────────────────────────── # ─< fastfetch >────────────────────────────────────────────────────────────────────────────