From 358502ea3a9dac277061efa6bb81d788a89020b5 Mon Sep 17 00:00:00 2001 From: Von Random Date: Thu, 5 Sep 2024 18:33:30 +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 $@ }