chore and add zoxide

This commit is contained in:
2023-10-05 21:29:44 +02:00
parent 9cea45639e
commit 9fc505336c
3 changed files with 9 additions and 7 deletions

View File

@@ -1 +1,9 @@
[[ "$(uname)" == 'Darwin' ]] && export PATH="/opt/homebrew/bin:$PATH" [[ "$(uname)" == 'Darwin' ]] && export PATH="/opt/homebrew/bin:$PATH"
if builtin type -p dircolors &> /dev/null; then
eval "$(dircolors)"
fi
if builtin type -p zoxide &> /dev/null; then
eval "$(zoxide init zsh)"
fi

View File

@@ -1,13 +1,9 @@
export GOPATH="$HOME/.go" export GOPATH="$HOME/.go"
export PATH="$HOME/.cargo/bin:$HOME/.gem/bin:$GOPATH/bin:$HOME/.dotfiles/bin:$PATH:$HOME/.local/bin" export PATH="$HOME/.cargo/bin:$HOME/.gem/bin:$GOPATH/bin:$HOME/.dotfiles/bin:$PATH:$HOME/.local/bin"
if [[ -x /usr/bin/nvim ]] || [[ -x /opt/homebrew/bin/nvim ]]; then if builtin type -p nvim &> /dev/null; then
export EDITOR=nvim export EDITOR=nvim
elif [[ -x /usr/bin/vim ]] || [[ -x /opt/homebrew/bin/vim ]]; then
export EDITOR=vim
fi fi
export LESS="-FRSMKI" export LESS="-FRSMKI"
export SYSTEMD_LESS="FRSMKI" export SYSTEMD_LESS="FRSMKI"
[[ -x /usr/bin/dircolors ]] && eval "$(dircolors)"

View File

@@ -24,8 +24,6 @@ alias :q="exit"
alias ..="cd .." alias ..="cd .."
alias grep="grep --color=auto" alias grep="grep --color=auto"
[[ -x /usr/bin/xdg-open ]] && alias open="xdg-open"
bindkey -e bindkey -e
if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then