Advertisement
Guest User

Untitled

a guest
Aug 8th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 KB | None | 0 0
  1. case $- in
  2. *i*) ;;
  3. *) return;;
  4. esac
  5. export PATH=$PATH:$HOME/bin
  6.  
  7. # don't put duplicate lines or lines starting with space in the history.
  8. # See bash(1) for more options
  9. HISTCONTROL=ignoreboth
  10.  
  11. # append to the history file, don't overwrite it
  12. shopt -s histappend
  13.  
  14. # for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
  15. HISTSIZE=1000
  16. HISTFILESIZE=2000
  17.  
  18. # check the window size after each command and, if necessary,
  19. # update the values of LINES and COLUMNS.
  20. shopt -s checkwinsize
  21.  
  22. # If set, the pattern "**" used in a pathname expansion context will
  23. # match all files and zero or more directories and subdirectories.
  24. #shopt -s globstar
  25.  
  26. # make less more friendly for non-text input files, see lesspipe(1)
  27. [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
  28.  
  29. # set variable identifying the chroot you work in (used in the prompt below)
  30. if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
  31. debian_chroot=$(cat /etc/debian_chroot)
  32. fi
  33.  
  34. # set a fancy prompt (non-color, unless we know we "want" color)
  35. case "$TERM" in
  36. xterm-color) color_prompt=yes;;
  37. esac
  38.  
  39. # uncomment for a colored prompt, if the terminal has the capability; turned
  40. # off by default to not distract the user: the focus in a terminal window
  41. # should be on the output of commands, not on the prompt
  42. #force_color_prompt=yes
  43.  
  44. if [ -n "$force_color_prompt" ]; then
  45. if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
  46. # We have color support; assume it's compliant with Ecma-48
  47. # (ISO/IEC-6429). (Lack of such support is extremely rare, and such
  48. # a case would tend to support setf rather than setaf.)
  49. color_prompt=yes
  50. else
  51. color_prompt=
  52. fi
  53. fi
  54.  
  55. if [ "$color_prompt" = yes ]; then
  56. PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
  57. else
  58. PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
  59. fi
  60. unset color_prompt force_color_prompt
  61.  
  62. # If this is an xterm set the title to user@host:dir
  63. case "$TERM" in
  64. xterm*|rxvt*)
  65. PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
  66. ;;
  67. *)
  68. ;;
  69. esac
  70.  
  71. # enable color support of ls and also add handy aliases
  72. if [ -x /usr/bin/dircolors ]; then
  73. test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
  74. alias ls='ls --color=auto'
  75. #alias dir='dir --color=auto'
  76. #alias vdir='vdir --color=auto'
  77.  
  78. alias grep='grep --color=auto'
  79. alias fgrep='fgrep --color=auto'
  80. alias egrep='egrep --color=auto'
  81. fi
  82.  
  83. # some more ls aliases
  84. alias ll='ls -alF'
  85. alias la='ls -A'
  86. alias l='ls -CF'
  87.  
  88. # Add an "alert" alias for long running commands. Use like so:
  89. # sleep 10; alert
  90. alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
  91.  
  92. # Alias definitions.
  93. # You may want to put all your additions into a separate file like
  94. # ~/.bash_aliases, instead of adding them here directly.
  95. # See /usr/share/doc/bash-doc/examples in the bash-doc package.
  96.  
  97. if [ -f ~/.bash_aliases ]; then
  98. . ~/.bash_aliases
  99. fi
  100.  
  101. # enable programmable completion features (you don't need to enable
  102. # this, if it's already enabled in /etc/bash.bashrc and /etc/profile
  103. # sources /etc/bash.bashrc).
  104. if ! shopt -oq posix; then
  105. if [ -f /usr/share/bash-completion/bash_completion ]; then
  106. . /usr/share/bash-completion/bash_completion
  107. elif [ -f /etc/bash_completion ]; then
  108. . /etc/bash_completion
  109. fi
  110. fi
  111.  
  112. ### Added by the Heroku Toolbelt
  113. export PATH="/usr/local/heroku/bin:$PATH"
  114. ##GMAIL
  115. export GMAIL_USER="appuu.info@gmail.com"
  116. export GMAIL_PASS="alfa123456"
  117.  
  118.  
  119. export PATH="$HOME/.rbenv/bin:$PATH"
  120. eval "$(rbenv init -)"0
  121.  
  122. export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"
  123. export PATH="$HOME/.npm-global/bin:$PATH"
  124. export ANDROID_HOME="/home/pony/Android/Sdk"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement