From f199fc7a8656751179908397cc46cfd5697a45c1 Mon Sep 17 00:00:00 2001 From: Von Random Date: Sat, 10 Aug 2024 02:20:16 +0300 Subject: [PATCH] bash, zsh: escape fixterm escape --- cli/.bashrc | 2 +- cli/.config/zsh/functions.zsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/.bashrc b/cli/.bashrc index 810c3a9..61c0ff5 100644 --- a/cli/.bashrc +++ b/cli/.bashrc @@ -18,7 +18,7 @@ PS1='\[\e[0m\][ \u@\h \[\e[34m\]\w\[\e[0m\] ]\n\$ ' unalias ls ld ll 2>/dev/null beep() { printf "\007"; } -fixterm() { printf "c"; } +fixterm() { printf "\u001bc"; } diff() { command diff --color "$@"; } tailf() { command less +F "$@"; } diff --git a/cli/.config/zsh/functions.zsh b/cli/.config/zsh/functions.zsh index 778b11d..60858cd 100644 --- a/cli/.config/zsh/functions.zsh +++ b/cli/.config/zsh/functions.zsh @@ -35,7 +35,7 @@ fsf() { } beep() { printf $'\007' } -fixterm() { printf $'c' } +fixterm() { printf $'\u001bc' } diff() { command diff --color $@ } tailf() { command less +F $@ }