botherbother 0.1 → 0.1.01

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/botherbother.rb +10 -1
  2. metadata +1 -1
@@ -51,7 +51,16 @@ $tips = [
51
51
  "You can use 'alias' to create aliases for commonly used and/or long commands.",
52
52
  "Didn't understand a tip? Google it!",
53
53
  "Want to run more than one command on a line? Separate them with a semicolon ';'.",
54
- ]
54
+ "When programs like grep or echo let you type to stdin, they're waiting for ctrl-d (EOF) to end it!",
55
+ "use du to check disk space usage, du | sort -g to find largest files!",
56
+ "use >> to append to a file from stdout instead of overwriting it with >",
57
+ "use tree to make a ascii representation of a directory tree that's easy to share",
58
+ "separate multiple commands with && to run the next only if no errors in the previous",
59
+ "ctrl-z (suspend) then bg to rescue a terminal you froze by launging a GUI prog in it",
60
+ "frozen terminal? You might have hit ctrl-s - try ctrl-q to resume it!",
61
+ "Know what shell you're using! Customize it with an .?rc file! Use a DVCS to maintain it!",
62
+ "Are you using plain ls when you type ls? Try 'alias ls' to find out!"
63
+ ]
55
64
 
56
65
  def bother
57
66
  "-= #{$tips.sample} =-"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: botherbother
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: 0.1.01
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: