From 626eaa14724956b4af43172d304fc1555632b5f6 Mon Sep 17 00:00:00 2001 From: ArgentumCation Date: Thu, 3 Aug 2023 10:57:41 -0400 Subject: [PATCH] changes --- executable_dot_env | 2 +- executable_dot_zshrc | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/executable_dot_env b/executable_dot_env index d21790f..67fb858 100644 --- a/executable_dot_env +++ b/executable_dot_env @@ -16,7 +16,7 @@ XDG_STATE_HOME="$HOME/.local/state" XDG_CACHE_HOME="$HOME/.cache" -[[ "$TERM_PROGRAM" = "vscode" ]] && . "$(code --locate-shell-integration-path $0)" +# [[ "$TERM_PROGRAM" = "vscode" ]] && . "$(code --locate-shell-integration-path $0)" # set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin" ] ; then diff --git a/executable_dot_zshrc b/executable_dot_zshrc index 82e945b..a5d9587 100644 --- a/executable_dot_zshrc +++ b/executable_dot_zshrc @@ -132,8 +132,7 @@ fi # set up zoxide if installed (lets you jump through folders easily using the z and zi commands instead of cd) if checkCommand zoxide; then - # zsh-defer - _evalcache zoxide init zsh + zsh-defer _evalcache zoxide init zsh fi #if "$(checkCommand notify-send)"; then @@ -142,18 +141,18 @@ fi # Set up broot if installed (a nicer tree, probably has other cool stuff I haven't looked at yet) -[ -e "$HOME"/.config/broot/launcher/bash/br ] && zsh-defer -t 15 eval "$(broot --print-shell-function $(basename $0))" +[ -e "$HOME"/.config/broot/launcher/bash/br ] && zsh-defer -t 15 eval "$(broot --print-shell-function zsh)" # Set aliases [ -f "$HOME/.aliasrc" ] && source "$HOME/.aliasrc" # >/dev/null 2>&1 &; -if checkCommand hyfetch && checkCommand fastfetch; then - hyfetch -b fastfetch +if checkCommand mirafetch; then + RUST_BACKTRACE=1 mirafetch fi END="$(date '+%s.%N')" PATH=$OLDPATH printf "Startup Time: %.2fms\n" $((1000 * (END - START))) # todo: install if not found -checkCommand starship && eval "$(starship init $(basename $0))" +checkCommand starship && eval "$(starship init zsh)" unset OLDPATH unset START unset END