configs  Check-in [58d102f73e]

Overview
Comment:zshrc: Use colordiff instead of vim for fsld
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 58d102f73e82a71a1113c0bf57be12f0719d62a1f1162d21f37caeb8b2da8be3
User & Date: js 2020-05-23 21:36:18
Context
2020-05-23
23:14
gpg.conf: Update preferences & default key check-in: b773ed3227 user: js tags: trunk
21:36
zshrc: Use colordiff instead of vim for fsld check-in: 58d102f73e user: js tags: trunk
15:33
zshrc: Remove most fossil aliases again check-in: 7b05ff9a0e user: js tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to zshrc.

197
198
199
200
201
202
203
204
205
206
207
208
209
210
211

alias tmux="tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf"

if which fossil &>/dev/null; then
	alias fsl="fossil"

	fsld() {
		fossil diff "$@" | vim -R -
	}
fi

# pkgsrc does not like MAKEFLAGS including -j
which pkg_chk &>/dev/null && alias pkg_chk="MAKEFLAGS= pkg_chk"
which pkg_rolling-replace &>/dev/null &&
	alias pkg_rolling-replace="MAKEFLAGS= pkg_rolling-replace"







|







197
198
199
200
201
202
203
204
205
206
207
208
209
210
211

alias tmux="tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf"

if which fossil &>/dev/null; then
	alias fsl="fossil"

	fsld() {
		fossil diff "$@" | colordiff | less -FRX
	}
fi

# pkgsrc does not like MAKEFLAGS including -j
which pkg_chk &>/dev/null && alias pkg_chk="MAKEFLAGS= pkg_chk"
which pkg_rolling-replace &>/dev/null &&
	alias pkg_rolling-replace="MAKEFLAGS= pkg_rolling-replace"