From 93cc3964e2d265ab0571298d69d2eed0a65d13f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Tue, 26 May 2020 18:14:58 +0200 Subject: [PATCH] Add deprecation notice for fedora and go plugins. --- plugins/fedora/fedora.plugin.zsh | 4 +++- plugins/go/go.plugin.zsh | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) mode change 120000 => 100644 plugins/fedora/fedora.plugin.zsh mode change 120000 => 100644 plugins/go/go.plugin.zsh diff --git a/plugins/fedora/fedora.plugin.zsh b/plugins/fedora/fedora.plugin.zsh deleted file mode 120000 index 16a214313..000000000 --- a/plugins/fedora/fedora.plugin.zsh +++ /dev/null @@ -1 +0,0 @@ -../dnf/dnf.plugin.zsh \ No newline at end of file diff --git a/plugins/fedora/fedora.plugin.zsh b/plugins/fedora/fedora.plugin.zsh new file mode 100644 index 000000000..226506c05 --- /dev/null +++ b/plugins/fedora/fedora.plugin.zsh @@ -0,0 +1,3 @@ +print -P "%F{yellow}The 'fedora' plugin is deprecated. Use the '%Udnf%u' plugin instead.%f" + +source "$ZSH/plugins/dnf/dnf.plugin.zsh" diff --git a/plugins/go/go.plugin.zsh b/plugins/go/go.plugin.zsh deleted file mode 120000 index cf943e2e1..000000000 --- a/plugins/go/go.plugin.zsh +++ /dev/null @@ -1 +0,0 @@ -../golang/golang.plugin.zsh \ No newline at end of file diff --git a/plugins/go/go.plugin.zsh b/plugins/go/go.plugin.zsh new file mode 100644 index 000000000..da7c87cfd --- /dev/null +++ b/plugins/go/go.plugin.zsh @@ -0,0 +1,3 @@ +print -P "%F{yellow}The 'go' plugin is deprecated. Use the '%Ugolang%u' plugin instead.%f" + +source "$ZSH/plugins/golang/golang.plugin.zsh"