mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-10-17 20:52:40 +00:00
Use julia nu function
This commit is contained in:
parent
20925f6a70
commit
3af5649cab
2 changed files with 4 additions and 5 deletions
|
@ -34,8 +34,6 @@ alias cd = z
|
||||||
alias cat = bat
|
alias cat = bat
|
||||||
alias lg = lazygit
|
alias lg = lazygit
|
||||||
alias zola = flatpak run org.getzola.zola
|
alias zola = flatpak run org.getzola.zola
|
||||||
alias julia = julia
|
|
||||||
|
|
||||||
|
|
||||||
# Functions
|
# Functions
|
||||||
def tal [project: string, ...args: string] {
|
def tal [project: string, ...args: string] {
|
||||||
|
@ -54,5 +52,9 @@ def vp [project: string] {
|
||||||
vit $"project:($project)"
|
vit $"project:($project)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def julia [...args: string] {
|
||||||
|
JULIA_NUM_THREADS=16 LD_PRELOAD=/usr/lib64/libstdc++.so.6 ~/.julia/juliaup/bin/julia
|
||||||
|
}
|
||||||
|
|
||||||
# Private config
|
# Private config
|
||||||
source ~/.config/nushell/private_config.nu
|
source ~/.config/nushell/private_config.nu
|
||||||
|
|
|
@ -4,6 +4,3 @@ zoxide init nushell | save ~/.nu/zoxide.nu
|
||||||
# Starship
|
# Starship
|
||||||
# TODO: Remove str replace after starship update
|
# TODO: Remove str replace after starship update
|
||||||
starship init nu | str replace --string "term size -c" "term size" | save ~/.nu/starship/init.nu
|
starship init nu | str replace --string "term size -c" "term size" | save ~/.nu/starship/init.nu
|
||||||
|
|
||||||
# Julia
|
|
||||||
let-env JULIA_NUM_THREADS = 16
|
|
||||||
|
|
Loading…
Reference in a new issue