Compare commits
2 commits
ca78c94e71
...
d104726b73
Author | SHA1 | Date | |
---|---|---|---|
d104726b73 | |||
6fb7a8f544 |
3 changed files with 19 additions and 6 deletions
23
README.md
23
README.md
|
@ -7,16 +7,18 @@ my dotfiles
|
||||||
- AHK macro
|
- AHK macro
|
||||||
- wezterm
|
- wezterm
|
||||||
- etc
|
- etc
|
||||||
- Ubuntu 20.04 on WSL
|
- Arch
|
||||||
- fish
|
|
||||||
- Arch/Manjaro
|
|
||||||
- fish
|
- fish
|
||||||
- tmux
|
- tmux
|
||||||
- neovim
|
- neovim
|
||||||
- keyboard config(xremap)
|
- keyboard config(xremap)
|
||||||
- wezterm
|
- wezterm
|
||||||
|
- Ubuntu 22.04 on WSL
|
||||||
|
- fish
|
||||||
|
- Termux
|
||||||
|
|
||||||
## extra
|
## extra
|
||||||
|
- qpdfview
|
||||||
- okular
|
- okular
|
||||||
|
|
||||||
# Installing
|
# Installing
|
||||||
|
@ -29,11 +31,20 @@ my dotfiles
|
||||||
6. run `bin/install.ps1`
|
6. run `bin/install.ps1`
|
||||||
|
|
||||||
### note
|
### note
|
||||||
* manual install lean
|
* manually install lean
|
||||||
|
|
||||||
## Linux
|
## Linux
|
||||||
1. install fish
|
1. run install.sh
|
||||||
2. run install.sh
|
|
||||||
|
# Neovim
|
||||||
|
|
||||||
|
## Julia
|
||||||
|
### Initial setup
|
||||||
|
- `./bin/neovim/setup_julials.jl` to set up environment with LanguageServer.jl
|
||||||
|
<!-- - Edit `init.lua` not to use sysimage and edit some julia code -->
|
||||||
|
- `./bin/neovim/update_julials.jl` to generate sysimage for faster startup time
|
||||||
|
|
||||||
|
Edit `init.lua` to change arguments for julials.
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
- Iron.nvim doesn't work for julia on Windows
|
- Iron.nvim doesn't work for julia on Windows
|
||||||
|
|
|
@ -4,6 +4,7 @@ if !ispath(project_path)
|
||||||
try
|
try
|
||||||
mkdir(project_path)
|
mkdir(project_path)
|
||||||
@info "Created $(project_path)"
|
@info "Created $(project_path)"
|
||||||
|
touch(joinpath(project_path, "tracecompile.jl"))
|
||||||
catch e
|
catch e
|
||||||
@error e
|
@error e
|
||||||
@error dump(e)
|
@error dump(e)
|
||||||
|
|
|
@ -4,6 +4,7 @@ cd(project_path)
|
||||||
@info "now at " pwd()
|
@info "now at " pwd()
|
||||||
run(`julia --project=. -e 'using Pkg; Pkg.update()'`)
|
run(`julia --project=. -e 'using Pkg; Pkg.update()'`)
|
||||||
compile_traces = Iterators.filter(eachline("tracecompile.jl")) do line
|
compile_traces = Iterators.filter(eachline("tracecompile.jl")) do line
|
||||||
|
# Remove anonymous functions from compile trace
|
||||||
!startswith(line, '#') && !occursin(r"\#\d+\#\d+", line)
|
!startswith(line, '#') && !occursin(r"\#\d+\#\d+", line)
|
||||||
end |> join
|
end |> join
|
||||||
read("precompile_exec_head.jl", String) * compile_traces |> (b -> write("precompile_exec.jl", b))
|
read("precompile_exec_head.jl", String) * compile_traces |> (b -> write("precompile_exec.jl", b))
|
||||||
|
|
Loading…
Add table
Reference in a new issue