## Aliases ##
aliascat=bataliasfind=fdaliasdf=dufaliasdu=dust-b-d1aliasjust=just--shell"nu"--shell-arg"-c"aliasll=ls-aldefday[]{datenow|dateformat"%a %b %d"}## Functions ##
defsshdev[port:int=8080]{$"Listening on localhost:($port)"^ssh-i~/.ssh/dev-N-T-R$"1337:localhost:($port)"dev@jolheiser.com}defnixdev[name:string# Name of the dev shell to use
--bash:bool# Use bash instead of nushell
--refresh:bool# Refresh the flake
]{leturl=$"git+https://git.jojodev.com/jolheiser/dev-shells\#($name)"letc=if($bash){""}else{"-c nu"}letrefresh=if($refresh){"--refresh"}else{""}letcmd=$"nix develop ($refresh)($url)($c)"^nu-c$cmd}## Other ##
$env.EDITOR=hx$env.config=($env.config|upsert"shell_integration"("WEZTERM_PANE"not-in$envand"SSH_CLIENT"not-in$env))source~/.config/nushell/zoxide.nusource~/.config/nushell/ohmyposh.nu