This commit is contained in:
pika 2025-03-24 13:53:39 +01:00
parent 0e699d4fda
commit 374bbf5196

10
.zshrc
View file

@ -348,7 +348,7 @@ __alias__() {
} }
alias gd="git diff" alias gd="git diff"
alias ga="gd $1 && git add" alias ga="gd $1 && git add"
alias gp="git pull --recurse-submodule" alias gp="git submodule update --init --recursive && git pull --recurse-submodule"
alias gms='git maintenance start' alias gms='git maintenance start'
# alias gsu="git submodule foreach git pull && git submodule update --init --recursive && git add . && git commit -m ' update: submodules' && echo '-- Committed changes, pushing now..' && sleep 1 && git push" # alias gsu="git submodule foreach git pull && git submodule update --init --recursive && git add . && git commit -m ' update: submodules' && echo '-- Committed changes, pushing now..' && sleep 1 && git push"
alias gcm="git commit -m" alias gcm="git commit -m"
@ -372,9 +372,10 @@ __alias__() {
fi fi
fi fi
# ─< install lazydocker >─────────────────────────────────────────────────────────────────
alias inst_lazydocker="curl https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bash" alias inst_lazydocker="curl https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bash"
# Function to determine which Neovim command to use # ─< Function to determine which Neovim command to use >──────────────────────────────────
choose_nvim() { choose_nvim() {
if [ -n "$TMUX" ]; then if [ -n "$TMUX" ]; then
# If inside an active tmux session, use nvim # If inside an active tmux session, use nvim
@ -478,11 +479,6 @@ _coding_() {
} }
__sources__() { __sources__() {
# if [ -e "$HOME/.zshenv" ]; then
# echo_info "Loadet zshenv"
# . "$HOME/.zshenv"
# fi
# if [ -e "$HOME/.bash_aliases" ]; then # if [ -e "$HOME/.bash_aliases" ]; then
# echo_info "Loadet bash_aliases" # echo_info "Loadet bash_aliases"
# . "$HOME/.bash_aliases" # . "$HOME/.bash_aliases"