Advertisement
Algabe

bashrc

Apr 9th, 2013
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.37 KB | None | 0 0
  1. #
  2. # ~/.bashrc
  3. #
  4.  
  5. # If not running interactively, don't do anything
  6. [[ $- != *i* ]] && return
  7. export PATH=$PATH:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
  8. alias ls='ls --color=auto'
  9. alias msfconsole='/opt/metasploit/msfconsole'
  10. alias tmp='sudo mount -o remount,size=4G /tmp'
  11. alias macchanger='sudo macchanger -a eth0'
  12.  
  13. # for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
  14. HISTSIZE=1500
  15. HISTFILESIZE=3000
  16.  
  17. # don't put duplicate lines in the history. See bash(1) for more options
  18. # ... or force ignoredups
  19. HISTCONTROL=ignoredups:erasedups
  20. HISTIGNORE="htop:ls*:history*:exit*"
  21.  
  22. shopt -s histappend                      # append to history, don't overwrite it
  23. PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"  # Save and reload the history after each command finishes
  24.  
  25. #PS1='[\u@\h \W]\$ '
  26. #PS1='\[\033[0;41m\] \u@\h\[\033[01;36m\]\W \$ \[\033[00m\] '
  27. PS1='\[\e[1;32m\][\u\[\e[m\]@\[\e[1;33m\]\h\[\e[1;34m\] \w]\[\e[1;36m\] \$\[\e[1;37m\] '
  28. #PS1='┌──[\u@\h][\w][\t]\n└──[\$] '
  29. #PS1='┌─[\u][\A][\w]\n└─[\$] '
  30. #PS1='\[\e[1;34m\]┌─ \e[1;32m\u\e[m@\e[1;33m\h\e[1;34m [\e[m\t\e[1;34m] [\e[m\w\e[1;34m] \n └─ $ \[\e[m\]'
  31. #PS1='\[\033[1;32m\]\u@\h\[\033[1;36m\] \W \$\[\033[00m\] '
  32. export LANG=en_US.UTF-8
  33. export EDITOR="nano"
  34. export PATH=$PATH:/home/algabe/.gem/ruby/2.0.0/bin/
  35. #alsi -a -u
  36. #siv -s -c4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement