Improve the C-x command in fish

This commit is contained in:
Joseph Ferano 2023-01-13 21:27:45 +07:00
parent 248d520e01
commit 599d740aa2

View File

@ -13,7 +13,7 @@ set -gx EDITOR nvim
set -gx MANPAGER "sh -c 'col -bx | bat -l man -p'"
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') ]
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_PLUG='p:preview-tui'
complete -f -c dotnet -a "(dotnet complete)"
# complete -f -c dotnet -a "(dotnet complete)"
function vterm_printf;
printf "\e]%s\e\\" "$argv"