mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-10-17 20:52:40 +00:00
Remove nushell because of bad autocompletions.fish is being rewritten in Rust anyway
This commit is contained in:
parent
38b99c57ef
commit
acdd0e1476
2 changed files with 0 additions and 65 deletions
|
@ -1,59 +0,0 @@
|
|||
let-env config = {
|
||||
show_banner: false
|
||||
}
|
||||
|
||||
# Setup
|
||||
## Starship
|
||||
source ~/.nu/starship/init.nu
|
||||
## Zoxide
|
||||
source ~/.nu/zoxide.nu
|
||||
|
||||
# Aliases
|
||||
## Safety options
|
||||
alias rm = trash
|
||||
alias cp = cp -i
|
||||
alias mv = mv -i
|
||||
|
||||
## Default options
|
||||
alias rsync = rsync -avhL --partial --zc=zstd --zl=8 --no-i-r --info=progress2
|
||||
alias onefetch = onefetch --no-color-palette
|
||||
|
||||
## Podman
|
||||
alias sage = podman run --pull newer -it --rm docker.io/sagemath/sagemath:latest
|
||||
alias sage-jupyter = podman run --pull newer -it --rm -p8888:8888 docker.io/sagemath/sagemath:latest sage-jupyter
|
||||
|
||||
alias fedora = podman run --pull newer -it --rm registry.fedoraproject.org/fedora:(rpm -E %fedora)
|
||||
|
||||
alias adoc = podman run --pull newer -it --rm -v (pwd):/documents/:Z docker.io/asciidoctor/docker-asciidoctor:latest
|
||||
|
||||
alias pps = podman ps --format '{{.Names}}'
|
||||
|
||||
## Replacements
|
||||
alias cd = z
|
||||
alias cat = bat
|
||||
alias lg = lazygit
|
||||
alias zola = flatpak run org.getzola.zola
|
||||
|
||||
# Functions
|
||||
def tal [project: string, ...args: string] {
|
||||
task add $"project:($project)" priority:L $args
|
||||
}
|
||||
|
||||
def tam [project: string, ...args: string] {
|
||||
task add $"project:($project)" priority:M $args
|
||||
}
|
||||
|
||||
def tah [project: string, ...args: string] {
|
||||
task add $"project:($project)" priority:H $args
|
||||
}
|
||||
|
||||
def vp [project: string] {
|
||||
vit $"project:($project)"
|
||||
}
|
||||
|
||||
def julia [...args: string] {
|
||||
JULIA_NUM_THREADS=16 LD_PRELOAD=/usr/lib64/libstdc++.so.6 ~/.julia/juliaup/bin/julia
|
||||
}
|
||||
|
||||
# Private config
|
||||
source ~/.config/nushell/private_config.nu
|
|
@ -1,6 +0,0 @@
|
|||
# Zoxide
|
||||
zoxide init nushell | save ~/.nu/zoxide.nu
|
||||
|
||||
# Starship
|
||||
# TODO: Remove str replace after starship update
|
||||
starship init nu | str replace --string "term size -c" "term size" | save ~/.nu/starship/init.nu
|
Loading…
Reference in a new issue