Skip to content

Commit

Permalink
Merge pull request #459 from manala/lazy/add_fzf
Browse files Browse the repository at this point in the history
[Lazy] Zsh - Add fzf
  • Loading branch information
nervo authored Oct 20, 2024
2 parents c17a587 + d7320fc commit 13322d0
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lazy.ansible/.manala/docker/Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ ARG GOMPLATE_VERSION="4.1.0"
ARG DIRENV_VERSION="2.34.0"
ARG JQ_VERSION="1.7.1"
ARG YQ_VERSION="4.44.3"
ARG FZF_VERSION="0.55.0"

# The 'container' environment variable tells systemd that it's running inside a
# Docker container environment.
Expand Down Expand Up @@ -74,6 +75,10 @@ RUN \
&& git clone https://github.com/zsh-users/zsh-autosuggestions.git /usr/local/share/oh-my-zsh/custom/plugins/zsh-autosuggestions \
&& git clone https://github.com/zsh-users/zsh-syntax-highlighting.git /usr/local/share/oh-my-zsh/custom/plugins/zsh-syntax-highlighting \
&& echo "ZDOTDIR=/etc/zsh" > /etc/zsh/zshenv \
# Fzf
&& curl -sSLf "https://github.com/junegunn/fzf/releases/download/v${FZF_VERSION}/fzf-${FZF_VERSION}-linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.tar.gz" \
| bsdtar -xvf - -C /usr/local/bin \
&& chmod +x /usr/local/bin/fzf \
# Clean
&& rm -rf /var/lib/apt/lists/*

Expand Down
1 change: 1 addition & 0 deletions lazy.ansible/.manala/etc/zsh/.zshrc.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ plugins=(
direnv
zsh-autosuggestions
zsh-syntax-highlighting
fzf
ansible
{{- if .Vars.system.docker }}
docker
Expand Down
5 changes: 5 additions & 0 deletions lazy.kubernetes/.manala/docker/Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ ARG GOMPLATE_VERSION="4.1.0"
ARG DIRENV_VERSION="2.34.0"
ARG JQ_VERSION="1.7.1"
ARG YQ_VERSION="4.44.3"
ARG FZF_VERSION="0.55.0"

# The 'container' environment variable tells systemd that it's running inside a
# Docker container environment.
Expand Down Expand Up @@ -74,6 +75,10 @@ RUN \
&& git clone https://github.com/zsh-users/zsh-autosuggestions.git /usr/local/share/oh-my-zsh/custom/plugins/zsh-autosuggestions \
&& git clone https://github.com/zsh-users/zsh-syntax-highlighting.git /usr/local/share/oh-my-zsh/custom/plugins/zsh-syntax-highlighting \
&& echo "ZDOTDIR=/etc/zsh" > /etc/zsh/zshenv \
# Fzf
&& curl -sSLf "https://github.com/junegunn/fzf/releases/download/v${FZF_VERSION}/fzf-${FZF_VERSION}-linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.tar.gz" \
| bsdtar -xvf - -C /usr/local/bin \
&& chmod +x /usr/local/bin/fzf \
# Clean
&& rm -rf /var/lib/apt/lists/*

Expand Down
1 change: 1 addition & 0 deletions lazy.kubernetes/.manala/etc/zsh/.zshrc.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ plugins=(
direnv
zsh-autosuggestions
zsh-syntax-highlighting
fzf
kubectl
{{- if .Vars.system.docker }}
docker
Expand Down
5 changes: 5 additions & 0 deletions lazy.symfony/.manala/docker/Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ ARG GOMPLATE_VERSION="4.1.0"
ARG DIRENV_VERSION="2.34.0"
ARG JQ_VERSION="1.7.1"
ARG YQ_VERSION="4.44.3"
ARG FZF_VERSION="0.55.0"

# The 'container' environment variable tells systemd that it's running inside a
# Docker container environment.
Expand Down Expand Up @@ -74,6 +75,10 @@ RUN \
&& git clone https://github.com/zsh-users/zsh-autosuggestions.git /usr/local/share/oh-my-zsh/custom/plugins/zsh-autosuggestions \
&& git clone https://github.com/zsh-users/zsh-syntax-highlighting.git /usr/local/share/oh-my-zsh/custom/plugins/zsh-syntax-highlighting \
&& echo "ZDOTDIR=/etc/zsh" > /etc/zsh/zshenv \
# Fzf
&& curl -sSLf "https://github.com/junegunn/fzf/releases/download/v${FZF_VERSION}/fzf-${FZF_VERSION}-linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.tar.gz" \
| bsdtar -xvf - -C /usr/local/bin \
&& chmod +x /usr/local/bin/fzf \
# Clean
&& rm -rf /var/lib/apt/lists/*

Expand Down
1 change: 1 addition & 0 deletions lazy.symfony/.manala/etc/zsh/.zshrc.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ plugins=(
direnv
zsh-autosuggestions
zsh-syntax-highlighting
fzf
)

source $ZSH/oh-my-zsh.sh
Expand Down

0 comments on commit 13322d0

Please sign in to comment.