Code: Select all
source ~/.aliasrcHowever, the screen app seems to ingore all of these aliases, I cannot use 'em in screen. Does anyone have an idea on how to solve this ?
Best Regards.
Code: Select all
source ~/.aliasrcCode: Select all
if [[ $- != *i* ]] ; then
return
fi
if [[ -f ~/.dir_colors ]]; then
eval `dircolors -b ~/.dir_colors`
else
eval `dircolors -b /etc/DIR_COLORS`
fi
case ${TERM} in
xterm*|rxvt*|Eterm|aterm|kterm|gnome)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
;;
screen)
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
;;
esac
[[ -f /etc/profile.d/bash-completion ]] && source /etc/profile.d/bash-completion
shopt -s histappend
source ~/.aliasrc