mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-27 03:14:56 +01:00
Merge fb267a2a06 into 9c08641d7c
This commit is contained in:
commit
79256e0a58
1 changed files with 4 additions and 2 deletions
|
|
@ -5,8 +5,10 @@ _atom_paths=(
|
|||
)
|
||||
|
||||
for _atom_path in $_atom_paths; do
|
||||
if [[ -a $_atom_path ]]; then
|
||||
alias at="open -a '$_atom_path'"
|
||||
if [[ "$OSTYPE" == "linux-gnu" ]]; then
|
||||
alias at="/usr/bin/atom"
|
||||
elif [[ -a $_atom_path ]]; then
|
||||
alias at="open -a '$_atom_path'"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue