Compare commits

..

No commits in common. "bda5105914f1d3b21d4600824c2ad112dd4cb6a4" and "0a68add4dafe001623d12af9f0a28224cf08405e" have entirely different histories.

3 changed files with 6 additions and 15 deletions

View file

@ -1,6 +0,0 @@
using OhMyREPL
using Pluto
using Symbolics
using Unitful
τ = 2*π
pluto_custom() = Pluto.run(;port=8080, host="0.0.0.0", auto_reload_from_file=true, require_secret_for_access=false, warn_about_untrusted_code=false)

View file

@ -38,7 +38,6 @@ alias bc='bc -ql' # Make bc usable for fast math
alias ffmpeg='ffmpeg -hide_banner'
[ -z "$VIMRUNTIME" ] &&
alias glow='glow -p' # force Glow to preview with `less` if not in vim
alias juliai='julia -i ${XDG_CONFIG_HOME:-"$HOME/.config"}/julia/startup.jl'
# I hate it when I get ghost script instead of git status
alias gs='echo "you don'\''t $(tput sitm)really$(tput sgr0) want ghost script now, do you?"'

View file

@ -14,14 +14,12 @@ if [ -z "$PROFILE_LOADED" ] && [ -f ~/.profile ]; then
fi
# Intelligently set $EDITOR
if [ "${EDITOR:-}" = "" ] || [ "${EDITOR##*/}" = "nano" ]; then
if command -v nvim > /dev/null;then
export EDITOR=nvim
elif command -v vim > /dev/null;then
export EDITOR=vim
elif command -v vi > /dev/null;then
export EDITOR=vi
fi
if command -v nvim > /dev/null;then
export EDITOR=nvim
elif command -v vim > /dev/null;then
export EDITOR=vim
elif command -v vi > /dev/null;then
export EDITOR=vi
fi
export SYSTEMD_EDITOR="$EDITOR"
export VISUAL="$EDITOR"