1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-10-17 20:52:40 +00:00

Update Julia

This commit is contained in:
Mo 2022-09-26 16:21:10 +02:00
parent c1971b86b3
commit cd4b912bad
4 changed files with 10 additions and 3 deletions

View file

@ -8,4 +8,4 @@ fi
# User specific environment and startup programs # User specific environment and startup programs
export GOPATH="$HOME/go" export GOPATH="$HOME/go"
export PATH="$HOME/.npm-global/bin:$PATH:$HOME/.cargo/bin:$GOPATH/bin" export PATH="$HOME/.npm-global/bin:$PATH:$HOME/.cargo/bin:$GOPATH/bin:$HOME/bin/julia/bin"

View file

@ -4,7 +4,6 @@ if status is-interactive
# Interactive environment variables # Interactive environment variables
set -gx EDITOR /usr/bin/nvim set -gx EDITOR /usr/bin/nvim
set -gx JULIA_NUM_THREADS 16
# Setup # Setup
## Zoxide ## Zoxide
@ -73,6 +72,10 @@ if status is-interactive
flatpak run org.getzola.zola $argv flatpak run org.getzola.zola $argv
end end
function julia
JULIA_NUM_THREADS=16 LD_PRELOAD=/usr/lib64/libstdc++.so.6 ~/bin/julia/bin/julia $argv
end
## Taskwarrior ## Taskwarrior
function ta -w task -d "Add no priority task" function ta -w task -d "Add no priority task"
task add project:$argv[1] $argv[2..] task add project:$argv[1] $argv[2..]

View file

@ -38,4 +38,8 @@ tabs:
parts: parts:
- direction: Vertical - direction: Vertical
run: run:
command: { cmd: fish, args: ["-C", "cd ~/code/ReCo.jl && julia"] } command:
{
cmd: fish,
args: ["-C", "cd ~/code/ReCo.jl && julia scripts/update.jl"],
}