configs  Check-in [8f7cbebaa6]

Overview
Comment:fish: Convert abbreviations to aliases

It's annoying to see fish expand the abbreviation while you type.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8f7cbebaa600763ebae45d2c2022a7ebef18c06c32543b2ab6c28ea8e36c301d
User & Date: js 2020-06-15 20:58:48
Context
2020-06-27
09:25
vim/syntax/objc.vim: Add OF_DIRECT(_MEMBERS) check-in: 564302e990 user: js tags: trunk
2020-06-15
20:58
fish: Convert abbreviations to aliases check-in: 8f7cbebaa6 user: js tags: trunk
2020-06-14
21:00
zshrc: More ways to check for truecolor terminal check-in: 9686d84236 user: js tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to fish/config.fish.

19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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_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
test -n "$XDG_DATA_HOME"
or set -x XDG_DATA_HOME $HOME/.local/share








<
<
<
<
<







19
20
21
22
23
24
25





26
27
28
29
30
31
32
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






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
test -n "$XDG_DATA_HOME"
or set -x XDG_DATA_HOME $HOME/.local/share

Added fish/functions/fl.fish.







>
>
>
1
2
3
function fl --wraps=fossil
    command fossil $argv
end

Added fish/functions/flc.fish.







>
>
>
1
2
3
function flc --wraps='fossil changes --differ'
    command fossil changes --differ $argv
end

Changes to fish/functions/fld.fish.

1
2
3
function fld
    fossil diff $argv -N | colordiff | less -FRX
end
|
|

1
2
3
function fld --wraps 'fossil diff'
    command fossil diff $argv -N | colordiff | less -FRX
end

Added fish/functions/gpg.fish.







>
>
>
1
2
3
function gpg --wraps=gpg2
    command gpg2 $argv
end

Added fish/functions/vi.fish.







>
>
>
1
2
3
function vi --wraps=vim
    command vim $argv
end