From: Alexander Barton Date: Fri, 31 Jul 2020 17:17:10 +0000 (+0200) Subject: Add "00-newline" plugin X-Git-Url: https://arthur.barton.de/gitweb/?p=ax-zsh.git;a=commitdiff_plain;h=77e572112e0f0641b75b8bf55bc9e42f18964f4b Add "00-newline" plugin --- diff --git a/plugins/00-newline/00-newline.ax-io b/plugins/00-newline/00-newline.ax-io new file mode 100644 index 0000000..249057d --- /dev/null +++ b/plugins/00-newline/00-newline.ax-io @@ -0,0 +1,10 @@ +# AX-ZSH: Alex' Modular ZSH Configuration +# 00-newline.ax-io: Print an empty line ... + +# Don't run this plugin on "check-plugins"! +[[ -z "$AXZSH_PLUGIN_CHECK" ]] || return 0 + +# Don't output anything ~/.hushlogin exists ... +[[ -r ~/.hushlogin ]] && return 0 + +echo diff --git a/plugins/00-newline/README.md b/plugins/00-newline/README.md new file mode 100644 index 0000000..3fd5fa8 --- /dev/null +++ b/plugins/00-newline/README.md @@ -0,0 +1,8 @@ +## 00-newline + +This is a somewhat "silly" plugin, which is run at the very beginning of the +initialization sequence and just prints a newline character. + +This can be handy when your terminal emulator or "login tools" print some +messages, but you want the ouput of your plugins and the first shell prompt +clearly separated.