# Various editors and fix aliases with sudo
export EDITOR=nvim
+export COLORTERM=1 CLICOLOR=1
+export JCOLOR=1
bindkey '^E' edit-command-line
alias code='code-oss'
alias sudo='sudo '
-alias icat="kitty +kitten icat"
alias fuzz="fzf --preview 'bat --style=numbers,changes --color=always --line-range :500 {}' --preview-window=right:66%"
alias sort='LC_ALL=C sort'
-# https://reviews.freebsd.org/D30545
-alias diff='LC_ALL=C TZ=UTC diff --color=auto'
+alias diff='LC_ALL=C TZ=UTC diff'
alias ls='ls --color=auto -F'
+alias diffstat='diffstat -C'
export BAT_THEME="Nord"
# Setup LSCOLORS, LS_COLORS and completion
-# https://reviews.freebsd.org/D30547
# https://git.cameronkatri.com/opendircolors
test -r ~/.nord_colors && eval $(opendircolors ~/.nord_colors)
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
export GPG_TTY=$(tty)
-export GOPATH=$HOME/Documents/go
-
-# Completion for kitty
-kitty + complete setup zsh | source /dev/stdin
-
export LESS='-FiMRx2$z-4$Dd+c$Du+g'
-# https://reviews.freebsd.org/D30341
-if ! mount -t fusefs --libxo=json | \
-jq -e '.mount.mounted[] | select(.node == "/usr/home/cameron/Documents/smbnetfs")' >/dev/null; then
- smbnetfs $HOME/Documents/smbnetfs
-fi
+#if ! mount -t fusefs --libxo=json | \
+#jq -e '.mount.mounted[] | select(.node == "/usr/home/cameron/Documents/smbnetfs")' >/dev/null; then
+# smbnetfs $HOME/Documents/smbnetfs
+#fi
source ~/.crossenv.zsh
export CVS_RSH=ssh
-alias dotconfig='git --git-dir=$HOME/Documents/dotfiles --work-tree=$HOME'
-
-# Set PATH after everthing else.
-export PATH="$GOPATH/bin:$PATH"
-export PATH="/usr/local/llvm12/bin:$PATH"
-export PATH="/usr/local/libexec/apple/bin:$PATH"
-export PATH="$HOME/.local/bin:/usr/local/libexec/ccache:/opt/limd/bin:$PATH"
-typeset -U path
+alias dotgit='git --git-dir=$HOME/Documents/dotfiles --work-tree=$HOME'