File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ __zsh__
5050| ` Ctrl-c ` | Interrupt command. |
5151| ` Ctrl-f ` | Expand wildcards to the list of full names. |
5252| ` Ctrl-d ` | Exit shell. |
53- | ` rm ` | Aliased to ` trash ` (use ` trash-empty ` to empty trash and ` /bin/rm ` for the real ` rm ` ) . |
53+ | ` trash ` | Moves file to trash. Use ` trash-empty ` to empty trash. |
5454
5555__ git__
5656
Original file line number Diff line number Diff line change @@ -35,10 +35,12 @@ plugins=(
3535 sudo
3636 tmux
3737 vi-mode
38+ systemd
3839 zsh-autosuggestions
3940)
4041source "${ZSH}/oh-my-zsh.sh"
4142
43+ # Enable fzf
4244if hash fzf 2>/dev/null; then
4345 source /usr/share/fzf/key-bindings.zsh
4446 source /usr/share/fzf/completion.zsh
5153
5254# Enable pyenv
5355if hash pyenv 2>/dev/null; then
54- eval "$(pyenv init -)"
55- eval "$(pyenv virtualenv-init -)"
56+ eval "$(pyenv init - zsh)"
57+ eval "$(pyenv virtualenv-init - zsh)"
58+ fi
59+
60+ # Enable zoxide
61+ if hash zoxide 2>/dev/null; then
62+ eval "$(zoxide init zsh)"
5663fi
5764
5865# Accept autosuggestions using Ctrl+Space
6976fi
7077
7178# Move to trash instead of hard rm.
72- if hash trash 2>/dev/null; then
73- alias rm='trash'
74- fi
79+ # if hash trash 2>/dev/null; then
80+ # alias rm='trash'
81+ # fi
7582
7683# Fast jump to git root.
7784alias cgr='cd "$(git rev-parse --show-toplevel)"'
You can’t perform that action at this time.
0 commit comments