From c08ee2eac2533a8c1bdff07e3ce07e36f250b968 Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Thu, 25 Aug 2011 19:52:00 +0300 Subject: [PATCH] Added information what every file does. (Yes, bash_profile is useful... ...even if it has only one line.) --- bash_aliases | 2 ++ bash_exports | 2 ++ bash_functions | 2 ++ bash_profile | 6 +----- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/bash_aliases b/bash_aliases index 64872147..e0d739d4 100644 --- a/bash_aliases +++ b/bash_aliases @@ -1,3 +1,5 @@ +# This file contains aliases which my bashrc uses. You might need to edit something (for example: if you use vi or don't have nmap). + # Moving between directories: alias ..="cd .." alias .="cd ." diff --git a/bash_exports b/bash_exports index 96de8c56..de1e342b 100644 --- a/bash_exports +++ b/bash_exports @@ -1,3 +1,5 @@ +# This file exports everything in my bashrc. You probably want to edit somethings here, like line 14, which sets timezone to Europe/Helsinki. + # Sets the default editor. Currently nano. export EDITOR=nano diff --git a/bash_functions b/bash_functions index e9e674dd..ade67287 100644 --- a/bash_functions +++ b/bash_functions @@ -1,3 +1,5 @@ +# This file contains functions of my bashrc. You probably don't need to edit anything here. +# # To disable function, just comment everything after description. # GEOIP lookup, copied from the ultimate bashrc http://goo.gl/qGK5j diff --git a/bash_profile b/bash_profile index 37a0a97d..4b3b2753 100644 --- a/bash_profile +++ b/bash_profile @@ -1,6 +1,2 @@ -# This is ~/.bash_profile by Mika Suomalainen (Mkaysi) -# -## WARNING! Author of this file is not responsible for any harms which might happen because of -## file. Use this file with your own responsiblity! -# +# You might think that this file is useless, because bash automaticly reads bashrc. If yes, then you are wrong. Bash in Mac OS X reads settings from ~/.bash_profile. source ~/.bashrc