# Sets the default editor. I am vim user, so I want it to be vim. If you don't like terminal based text editors, change "" to gedit (Gnome) or Kate (KDE).
# Sets locale. You can get list of locales with "locale -a" command. This should be something which ends to .utf8
#export LC_ALL=fi_FI.utf8
# Sets your timezone. Set in format <Region/City>, or just timezone like UTC.
#export TZ="/usr/share/zoneinfo/Europe/Helsinki"
# Sets PATH. To add another path, add :</path/to/new/path> to string below.
PATH=$PATH
# Sets web-browser.
#export BROWSER=lynx
# "Changes" home directory without root. Uncomment both lines below this.
#export HOME=<path to new home>
#cd
# Uses most as the default pager if you uncomment line below. (You will also get colourful manpages :D).
#export PAGER=most
##### Aliases RJ706I #####
# To get sudo work with aliases.
aliassudo="sudo "
# Moving between directories:
alias ..="cd .."
alias .="cd ."
# Use htop instead of top, it's better. Requires htop.
aliastop="htop"
# Automaticly adds title to Youtube-dl when downloading videos with it. Requires youtube-dl.
alias youtube-dl="youtube-dl -t"
# git specific. This is the command which I use when git asks me to commit something and says that I have modified files, even when I haven't.
aliasgdrop="git stash && git stash drop"
aliasgitk="gitg"# Requires gitg . I just think that it looks nicer than gitk.
# Usually when I run "time", I want to know the current time.
aliastime="date"
# If I run nautilus, I want it to open in folder where I am.
aliasnautilus="nautilus ./"
# Why I must write "weechat-curses" to start it?
aliasweechat="weechat-curses"
#NMAP specific. All nmap things should be run as root, so it's probably best to copy these aliases to root's .bashrc. Things which don't run without root ask for sudo password.
alias nmap-intense="nmap -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389 "
alias nmap-intense-udp="sudo nmap -sS -sU -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389 "
alias nmap-intense-all-tcp="nmap -p 1-65535 -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389 "
alias nmap-intense-no-ping="nmap -T4 -A -v -PN "
alias nmap-ping="nmap -sP -PE -PA21,23,80,3389 "
alias nmap-quick="nmap -T4 -F "
alias nmap-quick-plus="sudo nmap -sV -T4 -O -F --version-light "
alias nmap-comprehensive="sudo nmap -sS -sU -T4 -A -v -PE -PP -PS21,22,23,25,80,113,31339 -PA80,113,443,10042 -PO --script all "
# Little "safer" scan as connecting to only HTTP and HTTPS ports doesn't look so attacking. Copy-paste to .bash_custom and remove " -p 80,443" if you want to scan all ports which nmap scans by default.
alias nmap-osscan="sudo nmap -p 80,443 -O -v --osscan-guess --fuzzy "
aliasping="nping "
aliasping6="nping -6"
aliasnetcat="ncat "
# TOR (The Onion Router) specific.
aliasusewithtor="proxychains "
aliastorsocks="proxychains "
# This should allow aliases to work with proxychains.
aliasproxychains="proxychains "
# Downloads folder over SSH. Usage: rdownload <host>:<remotefolder> <local_destination> | TIP: use ~/ssh/config to configure hosts.
aliasrdownload="rsync -avz "
# TMUX specific
aliasattach="exec tmux -u attach-session"
aliasdetach="tmux -u detach"
aliastmux="exec tmux -u"
# I am always typoing "aptitude" with my phone...
aliasaptitute="aptitude "
# This is the checkinstall rule which I like to use.
aliascheckinstall="make install "
# The Battle for Wesnoth specific, http://wesnoth.org/
# It seems to be an good idea to have debug logs on terminal with svn version.
aliaswesnoth="wesnoth --debug"
# For copy-pasting directly from somewhere
alias %=" "
# SupyBot specifig. Why to write long command, if you can write short command?
alias supybot-config-reload="killall -HUP supybot "