changes
This commit is contained in:
parent
e39dc9b3c6
commit
626eaa1472
2 changed files with 6 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue