Skip to content

Instantly share code, notes, and snippets.

@Jeeppler
Created February 2, 2016 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jeeppler/47cb983659afad24b954 to your computer and use it in GitHub Desktop.
Save Jeeppler/47cb983659afad24b954 to your computer and use it in GitHub Desktop.
#
# /etc/bash.bashrc
#
export http_proxy='10.137.255.254:8082'
# 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/\~}"'
"/etc/bash.bashrc" 25L, 644C 7,1 Top
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment