chore and add zoxide
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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)"
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user