configs  Check-in [92789c0ee5]

Overview
Comment:fish: Add run command to run a command in the bg

This is more convenient than "command & disown".

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 92789c0ee588347e5adc581305c3b415ccb4eaf7592d5b44d778429a736fbb9a
User & Date: js 2020-02-20 21:16:38
Context
2020-02-20
21:29
Partially import github.com/dag/vim-fish check-in: a1f4539621 user: js tags: trunk
21:16
fish: Add run command to run a command in the bg check-in: 92789c0ee5 user: js tags: trunk
2020-02-19
21:46
Consistent indenting for .fish files check-in: bed5a23ae3 user: js tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added config/fish/completions/run.fish.



>
1
complete -c run -a '(__fish_complete_subcommand)'

Changes to config/fish/fish_variables.

32
33
34
35
36
37
38

39
40
41
42
43
44
SETUVAR fish_color_selection:c0c0c0
SETUVAR fish_color_status:\x2d\x2dbold\x1ered
SETUVAR fish_color_suffix:29bc7d
SETUVAR fish_color_user:00ff00
SETUVAR fish_color_valid_path:normal
SETUVAR fish_color_vcs:43d696
SETUVAR fish_color_vcs_braces:29bc7d

SETUVAR fish_greeting:
SETUVAR fish_key_bindings:fish_default_key_bindings
SETUVAR fish_pager_color_completion:normal
SETUVAR fish_pager_color_description:B3A06D\x1eyellow
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan







>






32
33
34
35
36
37
38
39
40
41
42
43
44
45
SETUVAR fish_color_selection:c0c0c0
SETUVAR fish_color_status:\x2d\x2dbold\x1ered
SETUVAR fish_color_suffix:29bc7d
SETUVAR fish_color_user:00ff00
SETUVAR fish_color_valid_path:normal
SETUVAR fish_color_vcs:43d696
SETUVAR fish_color_vcs_braces:29bc7d
SETUVAR fish_escape_delay_ms:300
SETUVAR fish_greeting:
SETUVAR fish_key_bindings:fish_default_key_bindings
SETUVAR fish_pager_color_completion:normal
SETUVAR fish_pager_color_description:B3A06D\x1eyellow
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan

Added config/fish/functions/run.fish.



















>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
function run
    if test (count $argv) = 0
        echo "Usage: run command"
        return 1
    end

    $argv &
    disown
end