Skip to content

Commit

Permalink
feat: remove seldom used plugins and fix WSL
Browse files Browse the repository at this point in the history
  • Loading branch information
pascal-zarrad committed Jul 26, 2024
1 parent e6beae4 commit df0f8a6
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 95 deletions.
27 changes: 0 additions & 27 deletions plugins/aws/plugin.sh

This file was deleted.

27 changes: 0 additions & 27 deletions plugins/azure/plugin.sh

This file was deleted.

2 changes: 0 additions & 2 deletions plugins/docker/plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,3 @@
#==================================================================

apply_ohmyzsh_plugin "docker"
apply_ohmyzsh_plugin "docker-compose"
apply_ohmyzsh_plugin "ctop"
27 changes: 0 additions & 27 deletions plugins/encode64/plugin.sh

This file was deleted.

10 changes: 8 additions & 2 deletions plugins/ssh-agent/plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,16 @@
# Script Name : psh-ssh-agent-installer
# Description : Enables oh-my-zsh's ssh-agent plugin
# to automatically load the ssh-agent.
# Especially usefull on WSL2.
# Only enabled on WSL2.
# Args : -
# Author : Pascal Zarrad
# Email : P.Zarrad@outlook.de
#==================================================================

apply_ohmyzsh_plugin "ssh-agent"
if grep -q "Microsoft" "/proc/version" || grep -q ".*microsoft-standard*." "/proc/version"
then
apply_ohmyzsh_plugin "ssh-agent"

# Configure ssh agent to not instantly load keys on zsh start
write_zshrc "zstyle :omz:plugins:ssh-agent lazy yes"
fi
1 change: 0 additions & 1 deletion plugins/yarn/plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@
#==================================================================

apply_ohmyzsh_plugin "yarn"
apply_ohmyzsh_plugin "yarn-autocompletions"
6 changes: 0 additions & 6 deletions plugins/zsh-enhancements/plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ apply_plugin "zsh-users/zsh-completions"
# It suggests commands as you type based on history and completions.
apply_plugin "zsh-users/zsh-autosuggestions"

# This is a clean-room implementation of the Fish shell's history
# search feature, where you can type in any part of any command
# from history and then press chosen keys, such as the UP and
# DOWN arrows, to cycle through matches.
apply_plugin "zsh-users/zsh-history-substring-search"

# This plugin adds autocompletion to further speed up command
# line work. Together with autosuggestions, it makes typing
# commands a breeze.
Expand Down
3 changes: 0 additions & 3 deletions templates/ssh_agent_lazy.template.zshrc

This file was deleted.

0 comments on commit df0f8a6

Please sign in to comment.