README.md 671 Bytes
Newer Older
1
2
## atom

3
4
5
This plugin makes "at" a useful function for invoking the Atom Editor.

Originally by Github user [aforty](https://github.com/aforty) for OSX, modified to alias 'at' to 'atom' for Linux, since atom already works on the terminal for Linux, and calling 'at' in a non-OSX environment should still work.
6
7
8
9
10
11
12
13
14

### Requirements

 * [Atom](https://atom.io/)

### Usage

 * If `at` command is called without an argument, launch Atom

15
 * If `at` is passed a directory, open it in Atom
16
17
18

 * If `at` is passed a file, open it in Atom

19
20
21
22
23
### Examples

 * Open the current dir in atom: `at .`
 * Open another dir in atom: `at path/to/folder`
 * Open a file: `at filename.extension`