summaryrefslogtreecommitdiff
path: root/plugins/atom/README.md
blob: 6350c647b029ef0ca2416c6dcfe976a63e1d1534 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## atom

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.

### Requirements

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

### Usage

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

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

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

### Examples

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