configs  Check-in [feaffda420]

Overview
Comment:Rename fsl alias to fl (and fsld to fld)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: feaffda4206cb85dc69e5fb6daf48db7a4619cf3f82554503f3ae6926ce3f805
User & Date: js on 2020-05-24 13:50:21
Original Comment: Rename fls alias to fl (and flsd to fld)
Other Links: manifest | tags
Context
2020-05-24
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
13:30
zshrc: Make colordiff fallback work on MSYS2 check-in: 57c7dd0298 user: js tags: trunk
Changes

Modified fish/config.fish from [5581366583] to [dc2860e2d7].

19
20
21
22
23
24
25
26

27
28
29
30
31
32
33
19
20
21
22
23
24
25

26
27
28
29
30
31
32
33







-
+







set -g fish_color_status --bold red
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_fsl fossil
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

Renamed and modified fish/functions/fsld.fish [9f9e64bc4b] to fish/functions/fld.fish [19f71389a5].

1

2
3

1
2
3
-
+


function fsld
function fld
    fossil diff $argv -N | colordiff | less -FRX
end

Modified zshrc from [8026454ccc] to [61190845ec].

200
201
202
203
204
205
206
207

208
209

210
211
212
213
214
215
216
200
201
202
203
204
205
206

207
208

209
210
211
212
213
214
215
216







-
+

-
+







			;;
	esac
}

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

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

	fsld() {
	fld() {
		if which colordiff &>/dev/null; then
			fossil diff -N "$@" | colordiff | less -FRX
		else
			red="$(tput setaf 1)"
			green="$(tput setaf 2)"
			reset="$(tput sgr0)"
			fossil diff -N "$@" | sed "s/^+.*$/$green&$reset/" |