This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues/pull-requests.
2023-06-28 20:48:01 +00:00
|
|
|
## Aliases ##
|
|
|
|
alias cat = bat
|
|
|
|
alias find = fd
|
|
|
|
alias df = duf
|
|
|
|
alias du = dust -b -d 1
|
|
|
|
alias just = just --shell "nu" --shell-arg "-c"
|
|
|
|
alias ll = ls -al
|
|
|
|
def day [] { date now | date format "%a %b %d" }
|
|
|
|
|
|
|
|
## Functions ##
|
|
|
|
def sshdev [port: int = 8080] {
|
|
|
|
$"Listening on localhost:($port)"
|
|
|
|
^ssh -i ~/.ssh/dev -N -T -R $"1337:localhost:($port)" dev@jolheiser.com
|
|
|
|
}
|
|
|
|
|
|
|
|
## Other ##
|
2023-07-11 20:16:56 +00:00
|
|
|
let-env EDITOR = hx
|
2023-06-28 20:48:01 +00:00
|
|
|
let-env config = ($env.config | upsert "shell_integration" ("WEZTERM_PANE" not-in $env and "SSH_CLIENT" not-in $env))
|
2023-07-11 20:16:56 +00:00
|
|
|
source /run/agenix/nushell.nu
|
2023-06-28 20:48:01 +00:00
|
|
|
source ~/.config/nushell/zoxide.nu
|
|
|
|
source ~/.config/nushell/ohmyposh.nu
|
|
|
|
|