diff options
Diffstat (limited to 'plugins/atom')
-rw-r--r-- | plugins/atom/README.md | 17 | ||||
-rw-r--r-- | plugins/atom/atom.plugin.zsh | 14 |
2 files changed, 0 insertions, 31 deletions
diff --git a/plugins/atom/README.md b/plugins/atom/README.md deleted file mode 100644 index 75d77a0ac..000000000 --- a/plugins/atom/README.md +++ /dev/null @@ -1,17 +0,0 @@ -## atom - -Plugin for Atom, a cross platform text and code editor, available for Linux, Mac OS X, and Windows. - -### Requirements - - * [Atom](https://atom.io/) - -### Usage - - * If `at` command is called without an argument, launch Atom - - * If `at` is passed a directory, `cd` to it and open it in Atom - - * If `at` is passed a file, open it in Atom - - * if `att` command is called, it is equivalent to `at .`, opening the current folder in Atom diff --git a/plugins/atom/atom.plugin.zsh b/plugins/atom/atom.plugin.zsh deleted file mode 100644 index 9adb9031a..000000000 --- a/plugins/atom/atom.plugin.zsh +++ /dev/null @@ -1,14 +0,0 @@ -local _atom_paths > /dev/null 2>&1 -_atom_paths=( - "$HOME/Applications/Atom.app" - "/Applications/Atom.app" -) - -for _atom_path in $_atom_paths; do - if [[ -a $_atom_path ]]; then - alias at="open -a '$_atom_path'" - break - fi -done - -alias att='at .' |