1
0
Fork 0

fish: more config and functions

This commit is contained in:
Von Random 2023-02-05 22:38:36 +02:00
parent ee4d07abc2
commit b93bcbba4e
7 changed files with 34 additions and 8 deletions

View file

@ -0,0 +1,15 @@
function termcompat
set -l term $TERM
switch $term
case 'alacritty*' 'kitty*' 'wezterm' 'xterm-*'
set term xterm
case 'rxvt-unicode-*'
set term rxvt-unicode
case 'tmux*'
set term screen.xterm-new
end
begin
set -lx TERM $term
command $argv
end
end