Commit Graph

267 Commits

Author SHA1 Message Date
Chris Lane
70e61d4e1f Trivial changes. Removed a copyright notice that I hadn't noticed before, and deleted a superfluous 'exit()' call. 2013-09-14 10:52:11 -04:00
Chris Lane
587dbf3c11 Integrated the autocompletion scripts into the project, and rewrote the bash version to take advantage of the new -l option. 2013-09-14 10:27:53 -04:00
Chris Lane
b24e2b7fd2 Merge branch '0rax-master' into dev
* 0rax-master:
  Added autocomplete for bash
2013-09-14 10:17:45 -04:00
Chris Lane
a07079957a Resolved a merge conflict and made a minor commenting change. 2013-09-14 10:13:54 -04:00
Chris Lane
5639c995c3 Updated the help to reflect the new options. 2013-09-14 10:06:45 -04:00
Chris Lane
5e17da0246 Bug fix on the last commit. 2013-09-14 10:05:13 -04:00
Chris Lane
ba4093620a Merged the 'create' and 'edit' functionality in order to DRY out the code a bit, because (IMO) the user experience is actually somewhat better when these two commands are merged. 2013-09-14 09:58:33 -04:00
Chris Lane
34f3eafb1a Created the -l option to list cheatsheets. I believe this is goign to be helpful to expose to scripts that are attempting to implement autocomplete. 2013-09-14 09:36:15 -04:00
Chris Lane
be7bc488b0 Breaking logic in the main function out into smaller components. 2013-09-14 09:23:33 -04:00
Chris Lane
1894ce6297 Making some minor code readability changes. 2013-09-14 09:06:30 -04:00
Chris Lane
48cdbdd836 Moved around some code blocks for the sake of readabilty. 2013-09-14 08:56:36 -04:00
Chris Lane
cef9cde3f3 Merge branch 'master' of https://github.com/0rax/cheat into 0rax-master
* 'master' of https://github.com/0rax/cheat:
  Added autocomplete for bash
2013-09-14 08:40:35 -04:00
Chris Lane
4b7a1110f3 Merge pull request #91 from ImmortalPC/master
Add apparmor
2013-09-13 17:55:58 -07:00
Chris Lane
54547459b2 Merge pull request #84 from maggick/patch-11
Create sort
2013-09-13 17:52:29 -07:00
Chris Lane
dc300f83eb Merge pull request #88 from ABorgna/master
Cheatsheet updates
2013-09-13 17:51:10 -07:00
Chris Lane
dc5dbdbb02 Merge pull request #89 from amitsaha/netstat_update
cheatsheets/netstat: Which process is listening on a port
2013-09-13 17:48:50 -07:00
Chris Lane
30640aa0e4 Merge pull request #87 from brunob/master
add minimal screen cheatsheet
2013-09-13 17:47:28 -07:00
ImmortalPC
385ac4d484 Add apt-get 2013-09-13 00:34:09 +02:00
ImmortalPC
2c86db1aac Add a description 2013-09-13 00:26:42 +02:00
ImmortalPC
3deb00bb0a Add apparmor 2013-09-13 00:21:50 +02:00
roemer_j
8b8d06f0e1 Added autocomplete for bash 2013-09-12 03:25:10 +02:00
Amit Saha
50fd4c6638 cheatsheets/netstat: Which process is listening on a port 2013-09-12 09:59:25 +10:00
ABorgna
acbd863277 Added ifconfig cheatsheet 2013-09-11 01:00:59 -03:00
ABorgna
60e2e66014 Added chown cheatsheet 2013-09-11 00:33:55 -03:00
ABorgna
a44c824f59 Added at cheatsheet 2013-09-11 00:21:44 -03:00
ABorgna
ba904a2bd6 Update vim
Using same format as 7z and emacs
2013-09-10 23:19:48 -03:00
b_b
eb00ab5d0b add minimal screen cheatsheet 2013-09-10 17:04:40 +02:00
Matthieu Keller
d4a40a9b20 Update sort 2013-09-08 15:43:25 +02:00
Matthieu Keller
acb1a827ec Create sort 2013-09-08 15:23:00 +02:00
Chris Lane
64cba079f9 Merge branch 'master' of https://github.com/ritchielincoln/cheat into ritchielincoln-master
* 'master' of https://github.com/ritchielincoln/cheat:
  give user the option to edit cheatsheet when trying to create an existing cheatsheet
2013-09-07 18:43:13 -04:00
Ritchie Lincoln
ffcafa4480 give user the option to edit cheatsheet when trying to create an existing cheatsheet 2013-09-07 12:41:51 -06:00
Chris Lane
213c7a31e1 Updated the README to describe the -d flag and zsh coordination. 2013-09-07 14:38:13 -04:00
Chris Lane
b107019664 Merge branch 'minus-d-uses-new-line-sep' of https://github.com/a-sk/cheat into a-sk-minus-d-uses-new-line-sep
* 'minus-d-uses-new-line-sep' of https://github.com/a-sk/cheat:
  -d now separates output using a newline
2013-09-07 13:34:45 -04:00
Chris Lane
11b680f49b Merging. 2013-09-07 13:28:10 -04:00
Chris Lane
f0a7362149 Merge branch 'master' of https://github.com/shanahanjrs/cheat into shanahanjrs-master
* 'master' of https://github.com/shanahanjrs/cheat:
  Added 'import argparse' to 'cheat'
  Merge
  Added GPL3 license to top of 'cheat' as required.
2013-09-07 13:23:39 -04:00
Chris Lane
db3fa0f8ad Merge pull request #79 from maggick/patch-9
Update grep
2013-09-07 10:17:37 -07:00
Chris Lane
f51d57499d Merge pull request #82 from adelviscio/patch-7
Removed cat
2013-09-07 10:14:27 -07:00
Chris Lane
3b3f96cfa2 Merge pull request #81 from ritchielincoln/master
added chmod to cheats
2013-09-07 10:12:59 -07:00
Chris Lane
b998a2015f Merge pull request #78 from maggick/patch-8
Update aptitude
2013-09-07 10:10:58 -07:00
adelviscio
93bda9dc20 Removed cat
Piping cat to sed is an extra step.  Sed can handle file arguments.
2013-09-07 00:29:49 -04:00
Ritchie Lincoln
bbabedb3ce added chmod to cheats 2013-09-06 20:55:22 -06:00
Matthieu Keller
dc4846b635 Update grep 2013-09-06 16:53:36 +02:00
Matthieu Keller
948d407b65 Update aptitude 2013-09-06 16:51:31 +02:00
John Shanahan
4fe31ec479 Added 'import argparse' to 'cheat' 2013-09-05 22:50:55 -04:00
a-sk
ebdca118ea -d now separates output using a newline 2013-09-04 09:52:54 +04:00
John Shanahan
139ff6c32e Merge 2013-09-03 23:53:58 -04:00
John Shanahan
68de9655e5 Merge remote-tracking branch 'upstream/master' 2013-09-03 23:53:31 -04:00
Chris Lane
16244be4ea Merge pull request #74 from Chimyx/master
Create Pacman (Arch linux package manager)
2013-09-03 17:11:01 -07:00
Chris Lane
d3e37c07d3 Merge pull request #70 from maggick/patch-4
correct and add vim shortcuts
2013-09-03 17:05:19 -07:00
Chris Lane
b360315298 Merge pull request #76 from thelinuxfr/patch-1
Add set editor to git
2013-09-03 17:02:19 -07:00