Fish-like feature and fuzzy finding for ZSH
parent
f875ca12cc
commit
72b0bb96a4
|
@ -7,6 +7,7 @@ dunst
|
||||||
feh
|
feh
|
||||||
firefox
|
firefox
|
||||||
flameshot
|
flameshot
|
||||||
|
fzf
|
||||||
htop
|
htop
|
||||||
i3-wm
|
i3-wm
|
||||||
i3lock-color
|
i3lock-color
|
||||||
|
|
|
@ -95,6 +95,10 @@ if [ ! -z "$INIT" ]; then
|
||||||
gsettings set org.cinnamon.desktop.default-applications.terminal exec i3-sensible-terminal
|
gsettings set org.cinnamon.desktop.default-applications.terminal exec i3-sensible-terminal
|
||||||
# For screenshots
|
# For screenshots
|
||||||
pip install pychee
|
pip install pychee
|
||||||
|
# Additionnal plugins for ZSH
|
||||||
|
sudo git clone https://github.com/zsh-users/zsh-syntax-highlighting.git /usr/share/oh-my-zsh/plugins/zsh-syntax-highlighting
|
||||||
|
sudo git clone https://github.com/zsh-users/zsh-autosuggestions /usr/share/oh-my-zsh/plugins/zsh-autosuggestions
|
||||||
|
sudo git clone https://github.com/unixorn/fzf-zsh-plugin.git /usr/share/oh-my-zsh/plugins/fzf-zsh-plugin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -z ${ENV} ]; then
|
if [ ! -z ${ENV} ]; then
|
||||||
|
|
10
.zshrc
10
.zshrc
|
@ -19,6 +19,10 @@ COMPLETION_WAITING_DOTS="true"
|
||||||
# stamp shown in the history command output.
|
# stamp shown in the history command output.
|
||||||
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
||||||
HIST_STAMPS="dd.mm.yyyy"
|
HIST_STAMPS="dd.mm.yyyy"
|
||||||
|
# Global history search
|
||||||
|
HISTFILE=~/.zsh_history
|
||||||
|
HISTSIZE=10000
|
||||||
|
SAVEHIST=10000
|
||||||
|
|
||||||
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
||||||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
||||||
|
@ -41,10 +45,16 @@ plugins=(
|
||||||
docker
|
docker
|
||||||
# unique command for most archives
|
# unique command for most archives
|
||||||
extract
|
extract
|
||||||
|
# fuzzy finder for history, files, docker, process, etc (see fzf)
|
||||||
|
fzf-zsh-plugin
|
||||||
# aliases
|
# aliases
|
||||||
git
|
git
|
||||||
# password-store autocomplete
|
# password-store autocomplete
|
||||||
pass
|
pass
|
||||||
|
# fish-like completion as you type
|
||||||
|
zsh-autosuggestions
|
||||||
|
# fish-like syntax hightlightin as you type
|
||||||
|
zsh-syntax-highlighting
|
||||||
)
|
)
|
||||||
|
|
||||||
# Enable option stacking in autocomplete, i.e. docker run -it <TAB>
|
# Enable option stacking in autocomplete, i.e. docker run -it <TAB>
|
||||||
|
|
Loading…
Reference in New Issue