zshrc: Separate alias for colored fossil diff
This commit is contained in:
parent
51b6c3d533
commit
e357aec58a
1 changed files with 2 additions and 1 deletions
3
zshrc
3
zshrc
|
@ -199,9 +199,10 @@ alias tmux="tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf"
|
|||
|
||||
if which fossil &>/dev/null; then
|
||||
alias fsl="fossil"
|
||||
alias fsld="fossil diff"
|
||||
alias fsls="fossil status"
|
||||
|
||||
fsld() {
|
||||
fsldc() {
|
||||
fossil diff "$@" | vim -R -
|
||||
}
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue