Improve the C-x command in fish
This commit is contained in:
parent
248d520e01
commit
599d740aa2
@ -13,7 +13,7 @@ set -gx EDITOR nvim
|
|||||||
set -gx MANPAGER "sh -c 'col -bx | bat -l man -p'"
|
set -gx MANPAGER "sh -c 'col -bx | bat -l man -p'"
|
||||||
set -gx DOTNET_CLI_TELEMETRY_OPTOUT 1
|
set -gx DOTNET_CLI_TELEMETRY_OPTOUT 1
|
||||||
|
|
||||||
bind \cx restore_job
|
bind \cx 'if test -z (commandline) ; fg %1 &>/dev/null; else ; clear; commandline "╰─>$ "; end'
|
||||||
|
|
||||||
if [ (uname -r | sed -n 's/.*\( *Microsoft *\).*/\1/ip') ]
|
if [ (uname -r | sed -n 's/.*\( *Microsoft *\).*/\1/ip') ]
|
||||||
set -gx DISPLAY 127.0.0.1:0.0
|
set -gx DISPLAY 127.0.0.1:0.0
|
||||||
@ -61,7 +61,7 @@ abbr -a -g gd "git diff"
|
|||||||
# export NNN_FIFO="/tmp/nnn.fifo" # temporary buffer for the previews
|
# export NNN_FIFO="/tmp/nnn.fifo" # temporary buffer for the previews
|
||||||
# export NNN_PLUG='p:preview-tui'
|
# export NNN_PLUG='p:preview-tui'
|
||||||
|
|
||||||
complete -f -c dotnet -a "(dotnet complete)"
|
# complete -f -c dotnet -a "(dotnet complete)"
|
||||||
|
|
||||||
function vterm_printf;
|
function vterm_printf;
|
||||||
printf "\e]%s\e\\" "$argv"
|
printf "\e]%s\e\\" "$argv"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user