You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.7 KiB
66 lines
1.7 KiB
#!/bin/sh
|
|
|
|
# env
|
|
if [ -n "$NVIM_LISTEN_ADDRESS" ]; then
|
|
# neovim-remote
|
|
export VISUAL="nvr -cc split --remote-wait +'set bufhidden=wipe'"
|
|
export EDITOR="nvr -cc split --remote-wait +'set bufhidden=wipe'"
|
|
else
|
|
export VISUAL="nvim"
|
|
export EDITOR="nvim"
|
|
fi
|
|
|
|
export TERMINAL="kitty"
|
|
export VISUAL="kitty $EDITOR"
|
|
export BROWSER="chromium"
|
|
|
|
# bin
|
|
export PATH=/home/ianmethyst/.emacs.d/bin:/home/ianmethyst/.bin:/home/ianmethyst/.local/bin:$PATH
|
|
|
|
# Enable colors
|
|
eval "`dircolors -b`"
|
|
|
|
# Add some colour to LESS/MAN pages
|
|
export LESSOPEN="| /usr/bin/source-highlight-esc.sh %s"
|
|
export LESS='-R'
|
|
|
|
export LESS_TERMCAP_mb=$'\E[01;31m'
|
|
export LESS_TERMCAP_md=$'\E[01;33m'
|
|
export LESS_TERMCAP_me=$'\E[0m'
|
|
export LESS_TERMCAP_se=$'\E[0m'
|
|
export LESS_TERMCAP_so=$'\E[01;42;30m'
|
|
export LESS_TERMCAP_ue=$'\E[0m'
|
|
export LESS_TERMCAP_us=$'\E[01;36m'
|
|
|
|
# fzf
|
|
export FZF_DEFAULT_COMMAND='rg --hidden --ignore .git -g ""'
|
|
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
|
|
|
|
# fnm
|
|
export PATH=/home/ianmethyst/.fnm:$PATH
|
|
eval "`fnm env`"
|
|
|
|
# Python
|
|
|
|
# pip
|
|
export PIP_REQUIRE_VIRTUALENV=false
|
|
export PIP_DOWNLOAD_CACHE=$HOME/.pip/cache
|
|
export PYTHON_KEYRING_BACKEND=keyring.backends.SecretService.Keyring
|
|
|
|
# pyenv
|
|
export PYENV_ROOT="$HOME/.pyenv"
|
|
export PATH="$PYENV_ROOT/bin:$PATH"
|
|
if command -v pyenv 1>/dev/null 2>&1; then eval "$(pyenv init -)"; fi
|
|
|
|
# pipenv
|
|
export PIPENV_VENV_IN_PROJECT=1
|
|
export PIPENV_SKIP_LOCK=true
|
|
export PIPENV_PYTHON=$PYENV_ROOT/shims/python
|
|
test -n "$ZSH_VERSION" && eval "$(_PIPENV_COMPLETE=zsh_source pipenv)"
|
|
test -n "$BASH_VERSION" && eval "$(_PIPENV_COMPLETE=bash_source pipenv)"
|
|
|
|
# Netlify
|
|
if [ -n "$ZSH_VERSION" ]; then
|
|
test -f "$HOME/.config/netlify/helper/path.zsh.inc" && source "$HOME/.config/netlify/helper/path.zsh.inc"
|
|
fi
|