dotwryn/config/dotwryn.env.zsh

77 lines
2.1 KiB
Bash
Raw Normal View History

2021-09-16 18:13:05 +00:00
#####################################################################
### Path References #################################################
#####################################################################
2021-09-16 20:56:05 +00:00
export DOTWRYN="$HOME/.wryn"
2022-08-23 03:27:20 +00:00
export SFX_PATH="$HOME/Media/sfx"
export WALLPAPER_PATH="$HOME/Pictures/bg"
2022-08-23 03:27:20 +00:00
export SOURCE_PACKAGES="$HOME/.local/share/source-packages"
2021-02-24 22:29:07 +00:00
export DOTWRYN_UTILS="$DOTWRYN/zsh/plugins/scwrypts/zsh/utils/utils.module.zsh"
RELOAD_ZSH_UTILS() { source $DOTWRYN_UTILS; }
[ ! $DOTWRYN_UTILS_LOADED ] && RELOAD_ZSH_UTILS && export DOTWRYN_UTILS_LOADED=1
2021-09-16 18:13:05 +00:00
#####################################################################
2021-09-16 20:56:05 +00:00
### Application Settings ############################################
2021-09-16 18:13:05 +00:00
#####################################################################
export PREFERRED_EDITOR=(vim vi)
2021-09-17 01:52:52 +00:00
2021-09-16 20:56:05 +00:00
RIPGREP_CONFIG_PATH="$HOME/.config/ripgrep/config"
2021-09-16 18:17:13 +00:00
TMUX_DEFAULT_SESSION_NAME='wryn'
2021-09-23 17:07:12 +00:00
2021-09-16 21:06:49 +00:00
PS1_BRANCH_SYMBOL=''
2021-09-16 20:56:05 +00:00
PS1_INDICATOR_SYMBOL='☕'
PS1_SEPARATOR='::'
2021-09-16 21:06:49 +00:00
PS1_USER='%n'
2021-09-16 20:56:05 +00:00
2021-09-16 22:15:30 +00:00
WELCOME () {
{ figlet 'Welcome, beautiful'; cowsay -p 'damn u sexy'; } | lolcat
}
2021-09-16 18:13:05 +00:00
#####################################################################
### External Plugins / Settings #####################################
#####################################################################
2022-08-23 03:27:20 +00:00
# fzf
EXTERNAL_PLUGINS+=(
2021-09-16 18:13:05 +00:00
'/usr/share/fzf/key-bindings.zsh'
'/usr/share/fzf/completion.zsh'
2022-08-23 03:27:20 +00:00
)
2021-09-16 18:13:05 +00:00
FZF_DEFAULT_OPTS='--reverse'
FZF_DEFAULT_COMMAND='rg --files'
2022-08-23 03:27:20 +00:00
# fzf-tab
EXTERNAL_PLUGINS+=("$DOTWRYN/zsh/plugins/fzf-tab/fzf-tab.plugin.zsh")
2021-09-16 18:13:05 +00:00
zstyle ':fzf-tab:*' accept-line enter
zstyle ':fzf-tab:*' fzf-bindings 'space:accept' ';:toggle'
zstyle ':fzf-tab:*' continuous-trigger '/'
2021-09-16 22:39:58 +00:00
2022-08-23 03:27:20 +00:00
# scwrypts
EXTERNAL_PLUGINS+=("$DOTWRYN/zsh/plugins/scwrypts/scwrypts.plugin.zsh")
for e in \
"local.$(hostnamectl --static).secret" \
"local.$(hostnamectl --static)" \
"local"
do; export SCWRYPTS_ENV="$e"; [ -f "$HOME/.config/scwrypts/env/$e" ] && break; done
2022-08-23 03:27:20 +00:00
# z
EXTERNAL_PLUGINS+=("$DOTWRYN/zsh/plugins/z/z.sh")
# code-activator
EXTERNAL_PLUGINS+=("$DOTWRYN/zsh/plugins/code-activator/activator.plugin.zsh")
# ssh
EXTERNAL_PLUGINS+=("$DOTWRYN/zsh/plugins/ssh/ssh.plugin.zsh")