switch to chezmoi
This commit is contained in:
parent
3c5d00dbf3
commit
a8b0acd4db
76 changed files with 27 additions and 531 deletions
15
dot_config/private_fish/functions/termcompat.fish
Normal file
15
dot_config/private_fish/functions/termcompat.fish
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue