Use fzf for completion

Signed-off-by: Tobias Manske <tobias.manske@mailbox.org>
This commit is contained in:
Tobias Manske 2019-02-11 13:49:12 +01:00
parent d3c74b214d
commit 1a37b84d50
No known key found for this signature in database
GPG Key ID: 978D99F12D4E041F
2 changed files with 18 additions and 0 deletions

13
.zshrc Normal file
View File

@ -0,0 +1,13 @@
#
# User configuration sourced by interactive shells
#
# Change default zim location
export ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim
# Start zim
[[ -s ${ZIM_HOME}/init.zsh ]] && source ${ZIM_HOME}/init.zsh
source /usr/share/fzf/completion.zsh
source /usr/share/fzf/key-bindings.zsh

View File

@ -1,3 +1,6 @@
fzf:
pacman -S fzf
tmux: tmux:
git submodule init git submodule init
git submodule update git submodule update
@ -38,7 +41,9 @@ zsh:
cd ~/.dotfiles cd ~/.dotfiles
zsh zimsetup.zsh zsh zimsetup.zsh
rm ~/.zimrc || echo rm ~/.zimrc || echo
rm ~/.zshrc || echo
ln -s ~/.dotfiles/.zimrc ~/.zimrc ln -s ~/.dotfiles/.zimrc ~/.zimrc
ln -s ~/.dotfiles/.zshrc ~/.zshrc
compton: compton:
ln -s ~/.dotfiles/.compton.conf ~/.compton.conf ln -s ~/.dotfiles/.compton.conf ~/.compton.conf