Dr_FarFar

[-] ~/.bashrc ( Parrot Security OS )

Jul 4th, 2016
1,008
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 7.98 KB | None | 0 0
  1. /***
  2.      ▄▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄     ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄
  3.     ▐░░░░░░░░░░▌ ▐░░░░░░░░░░░▌   ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌
  4.     ▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀█░▌   ▐░█▀▀▀▀▀▀▀▀▀ ▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀▀▀ ▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀█░▌
  5.     ▐░▌       ▐░▌▐░▌       ▐░▌   ▐░▌          ▐░▌       ▐░▌▐░▌       ▐░▌▐░▌          ▐░▌       ▐░▌▐░▌       ▐░▌
  6.     ▐░▌       ▐░▌▐░█▄▄▄▄▄▄▄█░▌   ▐░█▄▄▄▄▄▄▄▄▄ ▐░█▄▄▄▄▄▄▄█░▌▐░█▄▄▄▄▄▄▄█░▌▐░█▄▄▄▄▄▄▄▄▄ ▐░█▄▄▄▄▄▄▄█░▌▐░█▄▄▄▄▄▄▄█░▌
  7.     ▐░▌       ▐░▌▐░░░░░░░░░░░▌   ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌
  8.     ▐░▌       ▐░▌▐░█▀▀▀▀█░█▀▀    ▐░█▀▀▀▀▀▀▀▀▀ ▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀█░█▀▀ ▐░█▀▀▀▀▀▀▀▀▀ ▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀█░█▀▀
  9.     ▐░▌       ▐░▌▐░▌     ▐░▌     ▐░▌          ▐░▌       ▐░▌▐░▌     ▐░▌  ▐░▌          ▐░▌       ▐░▌▐░▌     ▐░▌  
  10.     ▐░█▄▄▄▄▄▄▄█░▌▐░▌      ▐░▌  ▄ ▐░▌          ▐░▌       ▐░▌▐░▌      ▐░▌ ▐░▌          ▐░▌       ▐░▌▐░▌      ▐░▌
  11.     ▐░░░░░░░░░░▌ ▐░▌       ▐░▌▐░▌▐░▌          ▐░▌       ▐░▌▐░▌       ▐░▌▐░▌          ▐░▌       ▐░▌▐░▌       ▐░▌
  12.      ▀▀▀▀▀▀▀▀▀▀   ▀         ▀  ▀  ▀            ▀         ▀  ▀         ▀  ▀            ▀         ▀  ▀         ▀
  13.  
  14.                          
  15.                                              
  16. ~~~ :xD: Have Fun. Don't Forget To Bookmark This Website :xD:
  17. ~~~ https://www.FaceBook.com/Dr.FarFar
  18. ~~~ http://Dr-FarFar.BlogSpot.com/
  19.  
  20. */
  21.  
  22. ########################################################################################################################
  23.  
  24.  
  25.  
  26. # ~/.bashrc: executed by bash(1) for non-login shells.
  27. # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
  28. # for examples
  29.  
  30. # If not running interactively, don't do anything
  31. case $- in
  32.     *i*) ;;
  33.       *) return;;
  34. esac
  35.  
  36. export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/share/games
  37.  
  38. # don't put duplicate lines or lines starting with space in the history.
  39. # See bash(1) for more options
  40. HISTCONTROL=ignoreboth
  41.  
  42. # append to the history file, don't overwrite it
  43. shopt -s histappend
  44.  
  45. # for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
  46. HISTSIZE=1000
  47. HISTFILESIZE=2000
  48.  
  49. # check the window size after each command and, if necessary,
  50. # update the values of LINES and COLUMNS.
  51. shopt -s checkwinsize
  52.  
  53. # If set, the pattern "**" used in a pathname expansion context will
  54. # match all files and zero or more directories and subdirectories.
  55. #shopt -s globstar
  56.  
  57. # make less more friendly for non-text input files, see lesspipe(1)
  58. #[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
  59.  
  60. # set variable identifying the chroot you work in (used in the prompt below)
  61. if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
  62.     debian_chroot=$(cat /etc/debian_chroot)
  63. fi
  64.  
  65. # set a fancy prompt (non-color, unless we know we "want" color)
  66. case "$TERM" in
  67.     xterm-color) color_prompt=yes;;
  68. esac
  69.  
  70. # uncomment for a colored prompt, if the terminal has the capability; turned
  71. # off by default to not distract the user: the focus in a terminal window
  72. # should be on the output of commands, not on the prompt
  73. force_color_prompt=yes
  74.  
  75. if [ -n "$force_color_prompt" ]; then
  76.     if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
  77.     # We have color support; assume it's compliant with Ecma-48
  78.     # (ISO/IEC-6429). (Lack of such support is extremely rare, and such
  79.     # a case would tend to support setf rather than setaf.)
  80.     color_prompt=yes
  81.     else
  82.     color_prompt=
  83.     fi
  84. fi
  85.  
  86. if [ "$color_prompt" = yes ]; then
  87.     PS1="\[\033[0;31m\]\342\224\214\342\224\200\$([[ \$? != 0 ]] && echo \"[\[\033[0;31m\]\342\234\227\[\033[0;37m\]]\342\224\200\")[$(if [[ ${EUID} == 0 ]]; then echo '\[\033[01;31m\]root\[\033[01;33m\]@\[\033[01;96m\]\h'; else echo '\[\033[0;39m\]\u\[\033[01;33m\]@\[\033[01;96m\]\h'; fi)\[\033[0;31m\]]\342\224\200[\[\033[0;32m\]\w\[\033[0;31m\]]\n\[\033[0;31m\]\342\224\224\342\224\200\342\224\200\342\225\274 \[\033[0m\]\[\e[01;33m\]\\$\[\e[0m\]"
  88. else
  89.     PS1='┌──[\u@\h]─[\w]\n└──╼ \$ '
  90. fi
  91. unset color_prompt force_color_prompt
  92.  
  93. # If this is an xterm set the title to user@host:dir
  94. case "$TERM" in
  95. xterm*|rxvt*)
  96.     PS1="\[\033[0;31m\]\342\224\214\342\224\200\$([[ \$? != 0 ]] && echo \"[\[\033[0;31m\]\342\234\227\[\033[0;37m\]]\342\224\200\")[$(if [[ ${EUID} == 0 ]]; then echo '\[\033[01;31m\]root\[\033[01;33m\]@\[\033[01;96m\]\h'; else echo '\[\033[0;39m\]\u\[\033[01;33m\]@\[\033[01;96m\]\h'; fi)\[\033[0;31m\]]\342\224\200[\[\033[0;32m\]\w\[\033[0;31m\]]\n\[\033[0;31m\]\342\224\224\342\224\200\342\224\200\342\225\274 \[\033[0m\]\[\e[01;33m\]\\$\[\e[0m\]"
  97.     ;;
  98. *)
  99.     ;;
  100. esac
  101.  
  102. # enable color support of ls and also add handy aliases
  103. if [ -x /usr/bin/dircolors ]; then
  104.     test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
  105.     alias ls='ls --color=auto'
  106.     alias dir='dir --color=auto'
  107.     alias vdir='vdir --color=auto'
  108.  
  109.     alias grep='grep --color=auto'
  110.     alias fgrep='fgrep --color=auto'
  111.     alias egrep='egrep --color=auto'
  112. fi
  113.  
  114. # some more ls aliases
  115. alias ll='ls -l'
  116. alias la='ls -A'
  117. alias l='ls -CF'
  118.  
  119. # Alias definitions.
  120. # You may want to put all your additions into a separate file like
  121. # ~/.bash_aliases, instead of adding them here directly.
  122. # See /usr/share/doc/bash-doc/examples in the bash-doc package.
  123.  
  124. if [ -f ~/.bash_aliases ]; then
  125.     . ~/.bash_aliases
  126. fi
  127.  
  128. # enable programmable completion features (you don't need to enable
  129. # this, if it's already enabled in /etc/bash.bashrc and /etc/profile
  130. # sources /etc/bash.bashrc).
  131. if ! shopt -oq posix; then
  132.   if [ -f /usr/share/bash-completion/bash_completion ]; then
  133.     . /usr/share/bash-completion/bash_completion
  134.   elif [ -f /etc/bash_completion ]; then
  135.     . /etc/bash_completion
  136.   fi
  137. fi
  138.  
  139. ########################################################################################################################
  140.  
  141.         https://www.facebook.com/Dr.FarFar
  142.         http://Dr-FarFar.BlogSpot.com/
  143.  
  144.         ________         __________                __________                
  145.         ___  __ \___________  ____/______ ____________  ____/______ _________
  146.         __  / / /__  ___/__  /_    _  __ `/__  ___/__  /_    _  __ `/__  ___/
  147.         _  /_/ / _  /___ _  __/    / /_/ / _  /    _  __/    / /_/ / _  /    
  148.         /_____/  /_/ _(_)/_/       \__,_/  /_/     /_/       \__,_/  /_/    
  149.                                                                              
  150.                              ~\ Dr.FarFar /~
Advertisement
Add Comment
Please, Sign In to add comment