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"
|
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
|
# set PATH so it includes user's private bin if it exists
|
||||||
if [ -d "$HOME/bin" ] ; then
|
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)
|
# set up zoxide if installed (lets you jump through folders easily using the z and zi commands instead of cd)
|
||||||
if checkCommand zoxide; then
|
if checkCommand zoxide; then
|
||||||
# zsh-defer
|
zsh-defer _evalcache zoxide init zsh
|
||||||
_evalcache zoxide init zsh
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#if "$(checkCommand notify-send)"; then
|
#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)
|
# 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
|
# Set aliases
|
||||||
[ -f "$HOME/.aliasrc" ] && source "$HOME/.aliasrc" # >/dev/null 2>&1 &;
|
[ -f "$HOME/.aliasrc" ] && source "$HOME/.aliasrc" # >/dev/null 2>&1 &;
|
||||||
|
|
||||||
if checkCommand hyfetch && checkCommand fastfetch; then
|
if checkCommand mirafetch; then
|
||||||
hyfetch -b fastfetch
|
RUST_BACKTRACE=1 mirafetch
|
||||||
fi
|
fi
|
||||||
END="$(date '+%s.%N')"
|
END="$(date '+%s.%N')"
|
||||||
PATH=$OLDPATH
|
PATH=$OLDPATH
|
||||||
printf "Startup Time: %.2fms\n" $((1000 * (END - START)))
|
printf "Startup Time: %.2fms\n" $((1000 * (END - START)))
|
||||||
# todo: install if not found
|
# todo: install if not found
|
||||||
checkCommand starship && eval "$(starship init $(basename $0))"
|
checkCommand starship && eval "$(starship init zsh)"
|
||||||
unset OLDPATH
|
unset OLDPATH
|
||||||
unset START
|
unset START
|
||||||
unset END
|
unset END
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue