1
0
Fork 0

bash, zsh: escape fixterm escape

This commit is contained in:
Von Random 2024-09-05 18:33:30 +03:00
parent 26cbd737e9
commit 358502ea3a
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ PS1='\[\e[0m\][ \u@\h \[\e[34m\]\w\[\e[0m\] ]\n\$ '
unalias ls ld ll 2>/dev/null unalias ls ld ll 2>/dev/null
beep() { printf "\007"; } beep() { printf "\007"; }
fixterm() { printf "c"; } fixterm() { printf "\u001bc"; }
diff() { command diff --color "$@"; } diff() { command diff --color "$@"; }
tailf() { command less +F "$@"; } tailf() { command less +F "$@"; }

View file

@ -35,7 +35,7 @@ fsf() {
} }
beep() { printf $'\007' } beep() { printf $'\007' }
fixterm() { printf $'c' } fixterm() { printf $'\u001bc' }
diff() { command diff --color $@ } diff() { command diff --color $@ }
tailf() { command less +F $@ } tailf() { command less +F $@ }