Compare commits
No commits in common. "d104726b73cf788a73400f1b171acc4d118a4a68" and "ca78c94e71b36393ab3458375f359ab272d41b70" have entirely different histories.
d104726b73
...
ca78c94e71
3 changed files with 6 additions and 19 deletions
23
README.md
23
README.md
|
@ -7,18 +7,16 @@ my dotfiles
|
||||||
- AHK macro
|
- AHK macro
|
||||||
- wezterm
|
- wezterm
|
||||||
- etc
|
- etc
|
||||||
- Arch
|
- Ubuntu 20.04 on WSL
|
||||||
|
- 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
|
||||||
|
@ -31,20 +29,11 @@ my dotfiles
|
||||||
6. run `bin/install.ps1`
|
6. run `bin/install.ps1`
|
||||||
|
|
||||||
### note
|
### note
|
||||||
* manually install lean
|
* manual install lean
|
||||||
|
|
||||||
## Linux
|
## Linux
|
||||||
1. run install.sh
|
1. install fish
|
||||||
|
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,7 +4,6 @@ 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,7 +4,6 @@ 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