appends default home

This commit is contained in:
JOLIMAITRE Matthieu 2024-02-27 01:20:49 +01:00
parent c14f6e6404
commit 6437866f4c
520 changed files with 17491 additions and 0 deletions

View file

@ -0,0 +1,40 @@
# :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