mirror of
https://github.com/Matir/skel.git
synced 2026-06-10 19:13:41 -07:00
Cleanup
This commit is contained in:
@@ -165,12 +165,9 @@ bindkey '^r' history-incremental-search-backward
|
|||||||
# delete really deletes
|
# delete really deletes
|
||||||
bindkey "^[[3~" delete-char
|
bindkey "^[[3~" delete-char
|
||||||
|
|
||||||
if test -d ${HOME}/.local/bin ; then
|
|
||||||
export PATH="${HOME}/.local/bin:${PATH}"
|
path_prepend "${HOME}/.npm-packages/bin"
|
||||||
fi
|
path_prepend "${HOME}/.local/bin"
|
||||||
if test -d ${HOME}/.npm-packages/bin ; then
|
|
||||||
export PATH="${HOME}/.npm-packages/bin:${PATH}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Source extras and aliases if interactive
|
# Source extras and aliases if interactive
|
||||||
if [[ $- == *i* ]] ; then
|
if [[ $- == *i* ]] ; then
|
||||||
@@ -256,8 +253,7 @@ if [[ $- == *i* ]] ; then
|
|||||||
if command -v direnv >/dev/null 2>&1 ; then
|
if command -v direnv >/dev/null 2>&1 ; then
|
||||||
eval "$(direnv hook zsh)"
|
eval "$(direnv hook zsh)"
|
||||||
fi
|
fi
|
||||||
test -e "${HOME}/.iterm2_shell_integration.zsh" && \
|
source_if_existing "${HOME}/.iterm2_shell_integration.zsh"
|
||||||
source "${HOME}/.iterm2_shell_integration.zsh" || true
|
|
||||||
# mise, if installed
|
# mise, if installed
|
||||||
command -v mise >/dev/null 2>&1 && eval "$(mise activate zsh)"
|
command -v mise >/dev/null 2>&1 && eval "$(mise activate zsh)"
|
||||||
|
|
||||||
@@ -272,11 +268,11 @@ if [ -x /usr/bin/ack-grep ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# I want these first always
|
# I want these first always
|
||||||
PATH="${HOME}/bin:${PATH}"
|
path_prepend "${HOME}/bin"
|
||||||
if [[ "$(uname)" == "Darwin" ]]; then
|
if [[ "$(uname)" == "Darwin" ]]; then
|
||||||
PATH="${HOME}/bin/macos:${PATH}"
|
path_prepend "${HOME}/bin/macos"
|
||||||
elif [[ "$(uname)" == "Linux" ]]; then
|
elif [[ "$(uname)" == "Linux" ]]; then
|
||||||
PATH="${HOME}/bin/linux:${PATH}"
|
path_prepend "${HOME}/bin/linux"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Load any local settings
|
# Load any local settings
|
||||||
|
|||||||
Reference in New Issue
Block a user