configs  Check-in [4ca56c47e1]

Overview
Comment:Add flc as alias for "fossil changes --differ"
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4ca56c47e171c054a4bd11f293afe3d093fc5fd0db153e81d7dea067d84f2368
User & Date: js 2020-05-24 17:30:58
Context
2020-05-24
20:51
Add Fossil branch to fish prompt check-in: aed8907a52 user: js tags: trunk
17:30
Add flc as alias for "fossil changes --differ" check-in: 4ca56c47e1 user: js tags: trunk
13:50
Rename fsl alias to fl (and fsld to fld) check-in: feaffda420 user: js tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to fish/config.fish.

20
21
22
23
24
25
26

27
28
29
30
31
32
33
set -g fish_color_suffix 29bc7d
set -g fish_color_user 00ff00
set -g fish_color_valid_path normal
set -g fish_color_vcs 43d696
set -g fish_color_vcs_braces 29bc7d

set -g _fish_abbr_fl fossil

set -g _fish_abbr_gpg gpg2
set -g _fish_abbr_vi vim

test -n "$XDG_CONFIG_HOME"
or set -x XDG_CONFIG_HOME $HOME/.config
test -n "$XDG_CACHE_HOME"
or set -x XDG_CACHE_HOME $HOME/.cache







>







20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
set -g fish_color_suffix 29bc7d
set -g fish_color_user 00ff00
set -g fish_color_valid_path normal
set -g fish_color_vcs 43d696
set -g fish_color_vcs_braces 29bc7d

set -g _fish_abbr_fl fossil
set -g _fish_abbr_flc fossil changes --differ
set -g _fish_abbr_gpg gpg2
set -g _fish_abbr_vi vim

test -n "$XDG_CONFIG_HOME"
or set -x XDG_CONFIG_HOME $HOME/.config
test -n "$XDG_CACHE_HOME"
or set -x XDG_CACHE_HOME $HOME/.cache

Changes to zshrc.

201
202
203
204
205
206
207

208
209
210
211
212
213
214
	esac
}

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

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


	fld() {
		if which colordiff &>/dev/null; then
			fossil diff -N "$@" | colordiff | less -FRX
		else
			red="$(tput setaf 1)"
			green="$(tput setaf 2)"







>







201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
	esac
}

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

if which fossil &>/dev/null; then
	alias fl="fossil"
	alias flc="fossil changes --differ"

	fld() {
		if which colordiff &>/dev/null; then
			fossil diff -N "$@" | colordiff | less -FRX
		else
			red="$(tput setaf 1)"
			green="$(tput setaf 2)"