summarylogtreecommitdiffstats
path: root/fzf-extras.install
diff options
context:
space:
mode:
authorAndy Weidenbaum2015-06-09 11:41:58 -0700
committerAndy Weidenbaum2015-06-09 11:41:58 -0700
commitc7e2d28c8f347e3841697fa169e02491f7aee7b2 (patch)
tree17d3a72f3e3b81d2898dfbab199407516d738cfe /fzf-extras.install
downloadaur-c7e2d28c8f347e3841697fa169e02491f7aee7b2.tar.gz
Initial import
Diffstat (limited to 'fzf-extras.install')
-rw-r--r--fzf-extras.install38
1 files changed, 38 insertions, 0 deletions
diff --git a/fzf-extras.install b/fzf-extras.install
new file mode 100644
index 000000000000..5d132198eb4b
--- /dev/null
+++ b/fzf-extras.install
@@ -0,0 +1,38 @@
+post_install() {
+ printf "%b\n" "$fzfin"
+}
+
+post_upgrade() {
+ printf "%b\n" "$fzfup"
+}
+
+read -d '' fzfin <<'EOF'
+fzf-extras
+==========
+
+Add the following to your shell config:
+
+ . /etc/profile.d/fzf-extras.bash # when bash
+ . /etc/profile.d/fzf-extras.zsh # when zsh
+EOF
+
+read -d '' fzfup <<'EOF'
+fzf-extras
+==========
+
+Bash Users: Potentially Breaking Update (2015-05-09)
+----------------------------------------------------
+
+To ensure zsh compatibility, Bash keybindings are now
+installed to:
+
+ /etc/profile.d/fzf-extras.bash
+
+Formerly, Bash keybindings were installed as:
+
+ /etc/profile.d/fzf-extras.sh
+
+Bash users' config may be broken by this update if bashrc sources
+/etc/profile.d/fzf-extra.sh, as that file is now absent. Consult with
+your local config.
+EOF