You are not logged in.

#1 2011-02-22 02:35:14

Jodell
Member
Registered: 2009-10-09
Posts: 285

[Solved]Terminals won't start after merging bash.bashrc

Hi all,

As the topic states, after merging the files using meld, none of my terminals will start. I've never modified bash.bashrc and seeing that the developers decided to change it, I'll like to get this working.

Current bash.bashrc

#
# /etc/bash.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

PS1='[\u@\h \W]\$ '
PS2='> '
PS3='> '
PS4='+ '

case ${TERM} in
  xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
    PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
                                                        
    ;;
  screen)
    PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
    ;;
esac

[ -r /etc/bash_completion   ] && . /etc/bash_completion
[ -r /etc/bash.bashrc.local ] && . /etc/bash.bashrc.local

Thanks in advance! smile

EDIT: This is embarrassing... A crappy alias in my .bashrc was causing this. Sorry for wasting your time hmm

Last edited by Jodell (2011-02-22 02:40:25)

Offline

Board footer

Powered by FluxBB