2021-09-16 18:13:05 +00:00
|
|
|
#####################################################################
|
|
|
|
### Path References #################################################
|
|
|
|
#####################################################################
|
2021-09-16 20:56:05 +00:00
|
|
|
|
2022-08-17 00:42:57 +00:00
|
|
|
export DOTWRYN="$HOME/.wryn"
|
2022-08-23 03:27:20 +00:00
|
|
|
|
2022-08-17 00:42:57 +00:00
|
|
|
export SOURCE_PACKAGES="$HOME/.local/share/source-packages"
|
2021-02-24 22:29:07 +00:00
|
|
|
|
2023-04-26 21:51:32 +00:00
|
|
|
export DOTWRYN_UTILS="$DOTWRYN/zsh/plugins/scwrypts/zsh/lib/utils/utils.module.zsh"
|
2022-08-23 23:44:56 +00:00
|
|
|
|
|
|
|
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
|
|
|
#####################################################################
|
|
|
|
|
2022-08-17 00:42:57 +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='::'
|
2023-11-11 21:55:19 +00:00
|
|
|
PS1_USER='%m'
|
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-03-05 22:28:06 +00:00
|
|
|
|
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
|
|
|
)
|
2022-08-17 00:42:57 +00:00
|
|
|
|
2023-06-24 13:50:14 +00:00
|
|
|
export FZF_DEFAULT_OPTS='--reverse --ansi --height 50% --bind=ctrl-c:cancel'
|
2022-11-28 23:02:47 +00:00
|
|
|
export FZF_DEFAULT_COMMAND='rg --files'
|
2021-09-16 18:13:05 +00:00
|
|
|
|
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")
|
|
|
|
|
2022-09-01 13:43:34 +00:00
|
|
|
for e in \
|
|
|
|
"local.$(hostnamectl --static).secret" \
|
|
|
|
"local.$(hostnamectl --static)" \
|
|
|
|
"local"
|
2023-06-27 22:53:59 +00:00
|
|
|
do export SCWRYPTS_ENV="$e"; [ -f "$HOME/.config/scwrypts/environments/scwrypts/$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")
|