]> git.rmz.io Git - dotfiles.git/blob - zsh/lib/motd.zsh
vim: show trailing space on first start
[dotfiles.git] / zsh / lib / motd.zsh
1 autoload colors; colors;
2
3 short()
4 {
5 print "$fg_bold[white]$1$reset_color $2"
6 }
7
8 msg()
9 {
10 print "$fg_bold[white]$1$reset_color\n$2\n"
11 }
12
13 msg "gc --{fixup,squash} :/commitmsg " \
14 "auto constructs a '{fixup,squash}!' commit message for the last commit matching
15 'commitmsg'"
16 msg "git rebase --autosquash " \
17 "{fixup,squash} commits starting with {fixup,squash}!, must be --interactive"
18 short "[count][\"x]gr{motion}" 'Replace {motion} text with the contents of register x.'
19 short ":Cd" "lcd %:h"
20 short ":Cr" "goto git root or home"