# :oh-my-zsh export ZSH="$HOME/.oh-my-zsh" ZSH_THEME="robbyrussell" plugins=( git zsh-autosuggestions zsh-completions zsh-syntax-highlighting archlinux ) source $ZSH/oh-my-zsh.sh ZSH_AUTOSUGGEST_STRATEGY=(completion history) ZSH_AUTOSUGGEST_USE_ASYNC="true" # :opam configuration [[ ! -r /home/user/.opam/opam-init/init.zsh ]] || source /home/user/.opam/opam-init/init.zsh > /dev/null 2> /dev/null # :nnn n () { if [[ "${NNNLVL:-0}" -ge 1 ]]; then echo "nnn is already running" return fi export NNN_TMPFILE="${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd" \nnn "$@" if [ -f "$NNN_TMPFILE" ]; then . "$NNN_TMPFILE" rm -f "$NNN_TMPFILE" > /dev/null fi } # user profile source ~/.profile