commit dc8146af9480e066b01989d830d1fd27fe4ed3ee
parent 9b2c2cb93052538f18e6e7a4ad50c947cf80efe5
Author: Anton Konyahin <me@konyahin.xyz>
Date: Thu, 25 May 2023 21:17:27 +0300
sh: few cvs aliases
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/sh/.config/ksh/kshrc b/sh/.config/ksh/kshrc
@@ -44,6 +44,10 @@ alias en='$EDITOR "$(find ~/data/notes -type f | fzf)"'
alias vn='v "$(find ~/data/notes -type f | fzf)"'
alias es='$EDITOR "$(find ~/dotfiles -type f ! -path "*.git/*" | fzf)"'
+alias cvsupdate='cvs -q up -Pd -A'
+alias cvsdiff='cvs diff -uNp'
+alias cvsrestore='cvs update -C'
+
me () {
$EDITOR $(make 2>&1 | grep '^.*\.[ch]:' | fzf | awk -F: '{printf "-c %s %s\n", $2, $1}')
}