83 Commits

Author SHA1 Message Date
Nate Fischer
dfaa78abef feat(cd): cd() (no args) changes to home directory 2016-01-24 13:19:57 -08:00
Ari Porad
c4220691b7 Merge pull request #293 from nfischer/feat-home-directory-tilde
feat: add tilde expansion to expand()
2016-01-24 11:50:40 -08:00
Nate Fischer
b3f266469b feat: add tilde expansion to expand()
This adds tilde expansion to the expand() function. Arguments starting with '~/'
will have the tilde expanded to the user's home directory, as with Bash.
2016-01-23 21:52:20 -08:00
Nate Fischer
1979d07776 Adding previousDir field to common.state to allow cd('-') to work like Bash 2016-01-23 21:24:13 -08:00
Nate Fischer
5ea67cf06d Fix ls docs 2016-01-23 17:32:26 -08:00
Ari Porad
015d34f78a Merge pull request #295 from nfischer/fix-run-tests
fix: jshint works on Windows
2016-01-21 14:01:31 -07:00
Nate Fischer
07236a6463 fix inconsistencies in docs 2016-01-20 19:42:35 -08:00
Nate Fischer
9ff07b3ca7 Style updates in docs 2016-01-20 03:11:56 -08:00
Nate Fischer
900384bda8 Now runs jshint on the src/ folder. This fixes the pre-existing lint issues 2016-01-19 00:25:21 -08:00
Nate Fischer
15261f846c Merge pull request #292 from nfischer/fix-readme-style
style: make docs more consistent
2016-01-15 19:50:01 -08:00
Nate Fischer
efc0bbb4ec style: make docs more consistent
I also fixed a URL in the top section of the README.
2016-01-15 19:37:59 -08:00
Ari Porad
2c63ecf461 Merge pull request #271 from freitagbr/fix-cp-behavior
Fix cp to match unix behavior
2016-01-15 16:26:31 -08:00
Ari Porad
9e9b500106 Don't do console.log.apply(this, ...).
Fixes #255
2016-01-14 20:59:40 -08:00
Martino Visintin
d520a340e8 update exec docs to match implemented behaviour 2016-01-14 12:44:05 +01:00
Ari Porad
99f71be89d Merge pull request #268 from nfischer/MultipleErrorMessages
Commands that have multiple errors now produce cleaner log output
2016-01-13 16:10:03 -08:00
Tingluo Huang
9ca9b6144a Make sure Which() on Windows platform always return the command with extension. 2016-01-13 15:03:17 -05:00
Nate Fischer
8a7f7ceec4 add exec.stdout
Change `exec.output` to `exec.stdout` and deprecate `output`.
2016-01-12 17:14:13 -08:00
Nate Fischer
74f1ff8748 Commands that have multiple errors now produce cleaner log output. Errors are
echoed to stderr. exec() supports a new stderr field.
2016-01-12 17:02:19 -08:00
Nate Fischer
5d1ccec687 Merge pull request #240 from BYK/patch-1
Fix `os.tmpdir` bug
2016-01-11 17:57:05 -08:00
Brett Jones
08b4212b15 add touch(1) 2016-01-11 19:47:09 -06:00
Nate Fischer
dbe3395ea9 docs(spelling): fix typo in source comment 2016-01-11 13:29:44 -08:00
Brandon Freitag
9ce87da61b Fix cp to match unix behavior
In unix, if src is a directory and dest doesn't exist, 'cp -r src dest' will copy src/* into dest. Fix cp('-r', 'src', 'dest') to behave the same way.
2016-01-11 01:32:54 -08:00
Burak Yiğit Kaya
06f35f8a76 Fix os.tmpdir bug
The checked method on `os` module was `tempDir` which was not existing on any version of Node (should have been `tmpDir`). With Node 0.10, the name became `tmpdir`.
2015-10-06 16:49:09 +03:00
Artur Adib
a38ef4557e Merge pull request #228 from rezonant/feat-capitalX
feat-multisymbolic + Support for directory entry (capital X in chmod terms)
2015-08-29 16:07:33 -04:00
Artur Adib
e05ca3f8c4 Merge pull request #227 from rezonant/feat-multisymbolic
Fixes an issue with multi-symbolic mode specification (ie a-rwx,u+rw)
2015-08-29 16:03:44 -04:00
Artur Adib
09363768df Merge pull request #166 from ratbeard/master
remove empty for loop and leaked i var
2015-08-29 15:56:25 -04:00
Liam (GH:rezonant)
766c2ddb59 Implements capital X (entry on directories) 2015-08-26 16:00:06 -04:00
Liam (GH:rezonant)
865a8d7c80 Oops, was commented out for verification 2015-08-26 15:08:20 -04:00
Liam (GH:rezonant)
670420c90e Fixes said broken test 2015-08-26 15:01:04 -04:00
Julian Laval
3d01d64385 Patched stream closing issue 2015-08-11 16:50:10 +01:00
Julian Laval
ab142f522f Manually closing streams 2015-08-11 09:53:37 +01:00
Charlie Rudolph
86e2d57cbc prevent internal error: write after end 2015-07-02 15:53:36 -07:00
Artur Adib
25f0cf0b24 Merge pull request #179 from andreialecu/fix-rmrfwin32
Fix issue #49: Retry rmdirSync on Windows for up to 1 second if files still exist.
2015-06-05 10:10:42 -04:00
Tristan Davies
4dca63ac33 100% more execSync, 99% less busywait 2015-02-25 09:28:06 -05:00
Andrei Alecu
7ddbba67c2 Changed error code to EAGAIN 2015-01-23 20:49:20 +02:00
Andrei Alecu
57a3725f43 Keep retrying if the directory still exists. 2015-01-15 12:22:01 +02:00
Andrei Alecu
e7b89d33e2 Styling fix. 2015-01-15 11:33:30 +02:00
Andrei Alecu
520f4952e0 Fix: Retry rmdirSync on Windows for up to 1 second if files still exist. Fixes issue #49 2015-01-11 13:44:57 +02:00
Mike Frawley
83d8d4d527 remove empty for loop and leaked i var 2014-11-12 10:15:20 -06:00
Artur Adib
20db182fcb Revert "Merge pull request #116 from idearat/master"
This reverts commit 65b658d1e47f380e4a50a859a871c8c48d1bd775, reversing
changes made to e88679a4a9146017cc9821efa4645acc7ef428c4.
2014-06-15 12:00:00 -04:00
Artur Adib
65b658d1e4 Merge pull request #116 from idearat/master
Add -l and -s support to grep.
2014-06-15 11:52:20 -04:00
abdul_martinez
dc5fb67544 Fix to set state.error before throw the exception 2014-04-25 10:39:38 +02:00
Artur Adib
8ba50dcf6b Merge pull request #119 from utensil/118-grep-glob
grep() support for globing, fixes #118
2014-04-21 14:05:30 -04:00
utensil
e5c26fdaa3 remove dependcy on minimatch 2014-04-20 10:40:27 +08:00
utensil
e88a8969a2 implement globing and pass tests 2014-04-19 22:22:06 +08:00
utensil
3968dc41e7 make sed() support replacement function, fixes #115 2014-04-19 21:05:47 +08:00
idearat
ac6994a740 Add -l and -s support to grep. 2014-04-18 15:58:15 -06:00
Rafal Lindemann
16c0c4dcdc which should only find files, not directories 2014-03-05 23:16:58 +01:00
Jamon
edfc3acf04 Added win32 support to ln 2014-02-04 10:47:20 -06:00
Michael Schoonmaker
36df0b7038 Fix ln using bad paths when given abspaths.
path.join will produce a bad path if given an abspath like `/home/foo`.
path.resolve is what we really want.
2013-10-11 11:33:49 -07:00