bash, zsh: escape fixterm escape
This commit is contained in:
parent
26cbd737e9
commit
f199fc7a86
2 changed files with 2 additions and 2 deletions
|
@ -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 "$@"; }
|
||||||
|
|
|
@ -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 $@ }
|
||||||
|
|
Loading…
Reference in a new issue