Skip to content

Commit

Permalink
add easier command for copy (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
xgdgsc authored Jul 18, 2021
1 parent bbf32ec commit 165433a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/src/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ If you're using at least Julia 1.5, this can be as simple as adding
```julia
using Revise
```

to your `startup.jl`.

or (if you have a Unix terminal available) simply run
```bash
mkdir -p ~/.julia/config/ && echo "using Revise" >> ~/.julia/config/startup.jl
```

If you use different package environments and do not always have Revise available,

```julia
Expand Down Expand Up @@ -57,6 +61,16 @@ catch e
@warn "Error initializing Revise" exception=(e, catch_backtrace())
end
```
or simply run
```bash
mkdir -p ~/.julia/config/ && tee -a ~/.julia/config/startup_ijulia.jl << END
try
@eval using Revise
catch e
@warn "Error initializing Revise" exception=(e, catch_backtrace())
end
END
```

## Configuring the revise mode

Expand Down

0 comments on commit 165433a

Please sign in to comment.