Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. # With thanks from : kirtika.ruchandani@gmail.com"
  2.  
  3. #!/usr/bin/env bash
  4. # ${HOME}/.bashrc: executed by bash(1) for non-login shells.
  5. # If not running interactively, don't do anything
  6. [ -z "$PS1" ] && return
  7.  
  8. # User Info
  9. export NICKNAME="Ryan"
  10.  
  11. # Distribute bashrc into smaller, more specific files
  12. source .shells/defaults
  13. source .shells/functions
  14. source .shells/exports
  15. source .shells/alias
  16. source .shells/prompt # Fancy prompt with time and current working dir
  17. source .shells/git # Conveniences - Display current branch etc
  18.  
  19. # Welcome message
  20. echo -ne "Good Morning, $NICKNAME! It's "; date '+%A, %B %-d %Y'
  21. echo -e "And now your moment of Zen:"; fortune
  22. echo
  23. echo "Hardware Information:"
  24. sensors # Needs: 'sudo apt-get install lm-sensors'
  25. uptime # Needs: 'sudo apt-get install lsscsi'
  26. lsscsi
  27. free -m
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement