forked from rkirti/bashrc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
34 lines (28 loc) · 1 KB
/
.bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
############################################################
# Simple but Cute and Helpful (TM) Bash Settings
#
# cat feedback >> "[email protected]"
############################################################
#!/usr/bin/env bash
# ${HOME}/.bashrc: executed by bash(1) for non-login shells.
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# User Info
export USERNAME="Kirtika Ruchandani"
export NICKNAME="rkirti"
# Distribute bashrc into smaller, more specific files
source .shells/defaults
source .shells/functions
source .shells/exports
source .shells/alias
source .shells/prompt # Fancy prompt with time and current working dir
source .shells/git # Conveniences - Display current branch etc
# Welcome message
echo -ne "Good Morning, $NICKNAME! It's "; date '+%A, %B %-d %Y'
echo -e "And now your moment of Zen:"; fortune
echo
echo "Hardware Information:"
sensors # Needs: 'sudo apt-get install lm-sensors'
uptime # Needs: 'sudo apt-get install lsscsi'
lsscsi
free -m