From 08ef54888199dd82e7c535c289a47af81a52b4cc Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sun, 11 Jun 2017 17:34:25 +0200 Subject: [PATCH] Update bash aliases --- config/bash/aliases | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/config/bash/aliases b/config/bash/aliases index 71fc98f..4fb00d8 100644 --- a/config/bash/aliases +++ b/config/bash/aliases @@ -67,17 +67,17 @@ for itm in $sel; do '"vdir"') echo "alias vdir='vdir --color=auto'" >> /etc/profile.d/alias.sh;; '"watch"') echo "alias watch='watch --color'" >> /etc/profile.d/alias.sh;; '"man"') - echo "man() {" >> /etc/profile.d/alias.sh - echo " env \\" >> /etc/profile.d/alias.sh - echo " LESS_TERMCAP_mb=$(printf \"\\e[1;31m\") \\" >> /etc/profile.d/alias.sh - echo " LESS_TERMCAP_md=$(printf \"\\e[1;31m\") \\" >> /etc/profile.d/alias.sh - echo " LESS_TERMCAP_me=$(printf \"\\e[0m\") \\" >> /etc/profile.d/alias.sh - echo " LESS_TERMCAP_se=$(printf \"\\e[0m\") \\" >> /etc/profile.d/alias.sh - echo " LESS_TERMCAP_so=$(printf \"\\e[1;44;33m\") \\" >> /etc/profile.d/alias.sh - echo " LESS_TERMCAP_ue=$(printf \"\\e[0m\") \\" >> /etc/profile.d/alias.sh - echo " LESS_TERMCAP_us=$(printf \"\\e[1;32m\") \\" >> /etc/profile.d/alias.sh - echo " man \"$@\"" >> /etc/profile.d/alias.sh - echo "}" >> /etc/profile.d/alias.sh + echo 'man() {' >> /etc/profile.d/alias.sh + echo ' env \' >> /etc/profile.d/alias.sh + echo ' LESS_TERMCAP_mb=$(printf "\e[1;31m") \' >> /etc/profile.d/alias.sh + echo ' LESS_TERMCAP_md=$(printf "\e[1;31m") \' >> /etc/profile.d/alias.sh + echo ' LESS_TERMCAP_me=$(printf "\e[0m") \' >> /etc/profile.d/alias.sh + echo ' LESS_TERMCAP_se=$(printf "\e[0m") \' >> /etc/profile.d/alias.sh + echo ' LESS_TERMCAP_so=$(printf "\e[1;44;33m") \' >> /etc/profile.d/alias.sh + echo ' LESS_TERMCAP_ue=$(printf "\e[0m") \' >> /etc/profile.d/alias.sh + echo ' LESS_TERMCAP_us=$(printf "\e[1;32m") \' >> /etc/profile.d/alias.sh + echo ' man "$@"' >> /etc/profile.d/alias.sh + echo '}' >> /etc/profile.d/alias.sh ;; '"mkdir"') echo "alias mkdir='mkdir -pv'" >> /etc/profile.d/alias.sh;; '"yaourt"') echo "alias yaourt='sudo -u aurbuilder yaourt --color'" >> /etc/profile.d/alias.sh;;