diff --git a/.zshrc b/.zshrc index 70c3d21..f8510f0 100644 --- a/.zshrc +++ b/.zshrc @@ -348,7 +348,7 @@ __alias__() { } alias gd="git diff" 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 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" @@ -372,9 +372,10 @@ __alias__() { fi fi + # ─< install lazydocker >───────────────────────────────────────────────────────────────── 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() { if [ -n "$TMUX" ]; then # If inside an active tmux session, use nvim @@ -478,11 +479,6 @@ _coding_() { } __sources__() { - # if [ -e "$HOME/.zshenv" ]; then - # echo_info "Loadet zshenv" - # . "$HOME/.zshenv" - # fi - # if [ -e "$HOME/.bash_aliases" ]; then # echo_info "Loadet bash_aliases" # . "$HOME/.bash_aliases"