X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/2ecf015bfa7f10eab50aeb748e687ee3dfb71356..87344398c36a27cb96855de43b05fcc3702630d5:/zsh/lib/motd.zsh diff --git a/zsh/lib/motd.zsh b/zsh/lib/motd.zsh new file mode 100644 index 0000000..43e8152 --- /dev/null +++ b/zsh/lib/motd.zsh @@ -0,0 +1,9 @@ +autoload colors; colors; + +msg() +{ + print "$fg_bold[white]$1$reset_color\n$2\n" +} + +msg "gc --{fixup,squash} :/commitmsg " "auto constructs a '{fixup,squash}!' commit message for the last commit matching 'commitmsg'" +msg "git rebase --autosquash " "{fixup,squash} commits starting with {fixup,squash}!, must be --interactive"