From 37e02569050927a9bce5cee231dce63c04803e45 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Sat, 8 Apr 2023 23:56:07 +0900 Subject: [PATCH] new: julia: startup.jl for python exe path --- bin/install.ps1 | 3 +++ dotfiles/startup_windows.jl | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 dotfiles/startup_windows.jl diff --git a/bin/install.ps1 b/bin/install.ps1 index ef7f981..c58718b 100644 --- a/bin/install.ps1 +++ b/bin/install.ps1 @@ -71,4 +71,7 @@ New-Item -ItemType SymbolicLink -Path ~\.config\starship.toml -Target (Resolve-P # wezterm mkdir ~\.config\wezterm New-Item -ItemType SymbolicLink -Path ~\.config\wezterm\wezterm.lua -Target (Resolve-Path .\dotfiles\wezterm\wezterm.lua) -Force +# julia +mkdir ~\.config\julia\config +New-Item -ItemType SymbolicLink -Path ~\.julia\config\startup.jl -Target (Resolve-Path .\dotfiles\startup_windows.jl) -Force diff --git a/dotfiles/startup_windows.jl b/dotfiles/startup_windows.jl new file mode 100644 index 0000000..5cb4982 --- /dev/null +++ b/dotfiles/startup_windows.jl @@ -0,0 +1,4 @@ +# julia startup file for windows +# use python installed with scoop instead of conda in windows +ENV["PYTHON"] = joinpath(homedir(), raw"scoop\apps\python\current\python.exe") +