added some iconv aliases for the convinience, long overdue
This commit is contained in:
parent
af48e36cd5
commit
bf7a07dc34
2 changed files with 10 additions and 4 deletions
7
bashrc
7
bashrc
|
@ -67,11 +67,14 @@ alias cower='command cower -c'
|
||||||
alias pacman='command pacman --color=auto'
|
alias pacman='command pacman --color=auto'
|
||||||
alias rscreen='command screen -Dr'
|
alias rscreen='command screen -Dr'
|
||||||
alias atmux='command tmux attach'
|
alias atmux='command tmux attach'
|
||||||
alias iconvwk='command iconv -c -f cp1251 -t koi8-r'
|
|
||||||
alias iconvuk='command iconv -c -f utf-8 -t koi8-r'
|
|
||||||
alias hist='fc -l 1'
|
alias hist='fc -l 1'
|
||||||
alias beep='echo -en "\007"'
|
alias beep='echo -en "\007"'
|
||||||
alias fixterm='echo "^[c"'
|
alias fixterm='echo "^[c"'
|
||||||
|
# iconv:
|
||||||
|
alias iconvwk='command iconv -c -f cp1251 -t koi8-r'
|
||||||
|
alias iconvuk='command iconv -c -f utf-8 -t koi8-r'
|
||||||
|
alias iconvku='command iconv -c -f koi8-r -t utf-8'
|
||||||
|
alias iconvwu='command iconv -c -f cp1251 -t utf-8'
|
||||||
# grc:
|
# grc:
|
||||||
if [[ -x /usr/bin/grc ]]; then
|
if [[ -x /usr/bin/grc ]]; then
|
||||||
alias ping='command grc --colour=auto ping'
|
alias ping='command grc --colour=auto ping'
|
||||||
|
|
7
zshrc
7
zshrc
|
@ -75,11 +75,14 @@ alias cower='command cower -c'
|
||||||
alias pacman='command pacman --color=auto'
|
alias pacman='command pacman --color=auto'
|
||||||
alias rscreen='command screen -Dr'
|
alias rscreen='command screen -Dr'
|
||||||
alias atmux='command tmux attach'
|
alias atmux='command tmux attach'
|
||||||
alias iconvwk='command iconv -c -f cp1251 -t koi8-r'
|
|
||||||
alias iconvuk='command iconv -c -f utf-8 -t koi8-r'
|
|
||||||
alias hist='fc -l 1'
|
alias hist='fc -l 1'
|
||||||
alias beep='echo -en "\007"'
|
alias beep='echo -en "\007"'
|
||||||
alias fixterm='echo "c"'
|
alias fixterm='echo "c"'
|
||||||
|
# iconv
|
||||||
|
alias iconvwk='command iconv -c -f cp1251 -t koi8-r'
|
||||||
|
alias iconvuk='command iconv -c -f utf-8 -t koi8-r'
|
||||||
|
alias iconvku='command iconv -c -f koi8-r -t utf-8'
|
||||||
|
alias iconvwu='command iconv -c -f cp1251 -t utf-8'
|
||||||
# grc - colorize some command outputs
|
# grc - colorize some command outputs
|
||||||
if [[ -x /usr/bin/grc ]]; then
|
if [[ -x /usr/bin/grc ]]; then
|
||||||
alias ping='command grc --colour=auto ping'
|
alias ping='command grc --colour=auto ping'
|
||||||
|
|
Loading…
Reference in a new issue