configs  Diff

Differences From Artifact [0e35125457]:

To Artifact [104fb033ab]:


241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
__has_command tmux && alias tmux="tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf"

if ! __has_command colordiff; then
	colordiff() {
		local red=$(printf "\033[31m")
		local green=$(printf "\033[32m")
		local reset=$(printf "\033[0m")
		sed "s/^+.*$/$green&$reset/" | sed "s/^-.*$/$red&$reset/"
	}
fi

if __has_command fossil; then
	alias fl="fossil"
	alias flc="fossil changes --differ"








|







241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
__has_command tmux && alias tmux="tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf"

if ! __has_command colordiff; then
	colordiff() {
		local red=$(printf "\033[31m")
		local green=$(printf "\033[32m")
		local reset=$(printf "\033[0m")
		sed -e "s/^+.*$/$green&$reset/" -e "s/^-.*$/$red&$reset/"
	}
fi

if __has_command fossil; then
	alias fl="fossil"
	alias flc="fossil changes --differ"