mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-10 04:26:17 +02:00
Merge 4196240bc7 into a9c882094d
This commit is contained in:
commit
80d6a153f2
2 changed files with 3 additions and 1 deletions
|
|
@ -18,6 +18,6 @@ Originally by Github user [aforty](https://github.com/aforty) for OSX, modified
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
|
|
||||||
* Open the current dir in atom: `at .`
|
* Open the current dir in atom: `att` (alias of `at .`)
|
||||||
* Open another dir in atom: `at path/to/folder`
|
* Open another dir in atom: `at path/to/folder`
|
||||||
* Open a file: `at filename.extension`
|
* Open a file: `at filename.extension`
|
||||||
|
|
|
||||||
|
|
@ -35,3 +35,5 @@ linux*)
|
||||||
# Alerts the user if 'atom' is not a found command.
|
# Alerts the user if 'atom' is not a found command.
|
||||||
type atom >/dev/null 2>&1 && alias at="atom" || { echo >&2 "You have enabled the atom oh-my-zsh plugin on Linux, but atom is not a recognized command. Please make sure you have it installed before using this plugin."; }
|
type atom >/dev/null 2>&1 && alias at="atom" || { echo >&2 "You have enabled the atom oh-my-zsh plugin on Linux, but atom is not a recognized command. Please make sure you have it installed before using this plugin."; }
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
alias att="at ."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue