Update .local/share/chezmoi/home/private_dot_config/shell/profile.sh, .local/share/chezmoi/home/private_dot_config/shell/motd.sh, .local/share/chezmoi/home/private_dot_config/shell/functions.sh, .local/share/chezmoi/home/private_dot_config/shell/private_private.sh, .local/share/chezmoi/home/private_dot_config/shell/aliases.sh.tmpl, .local/share/chezmoi/home/private_dot_config/shell/exports.sh.tmpl, .local/share/chezmoi/home/dot_zshrc, .local/share/chezmoi/home/dot_bashrc

This commit is contained in:
Brian Zalewski 2022-12-02 04:53:42 +00:00
parent 4549b369f4
commit ad3f4e81b7
8 changed files with 59 additions and 55 deletions

View file

@ -9,6 +9,11 @@ if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ]; then
export BASH_SUPPORT=true
fi
### Import Common Settings
if [ -f "$HOME/.config/shell/profile.sh" ]; then
. "$HOME/.config/shell/profile.sh"
fi
### Fig / LC_ALL
if [ "$BASH_SUPPORT" = 'true' ]; then
if [[ "$(hostname)" != *'-minimal' ]]; then
@ -19,11 +24,6 @@ if [ "$BASH_SUPPORT" = 'true' ]; then
fi
fi
### Import Common Settings
if [ -f "$HOME/.config/shell/profile" ]; then
. "$HOME/.config/shell/profile"
fi
### Settings
if command -v shopt > /dev/null; then
shopt -s globstar

View file

@ -9,8 +9,8 @@ export BASH_SUPPORT=true
### Import Common Settings
export XDG_CONFIG_HOME="$HOME/.config"
if [ -f "$HOME/.config/shell/profile" ]; then
. "$XDG_CONFIG_HOME/shell/profile"
if [ -f "$HOME/.config/shell/profile.sh" ]; then
. "$XDG_CONFIG_HOME/shell/profile.sh"
fi
### Misc.
@ -251,49 +251,45 @@ if [ -f "$HOME/.local/scripts/antigen.zsh" ]; then
fi
if command -v antigen > /dev/null; then
antigen use oh-my-zsh
antigen bundle adb
antigen bundle colored-man-pages
antigen bundle command-not-found
antigen bundle copyfile
antigen bundle copybuffer
antigen bundle encode64
antigen bundle fd
antigen bundle git-auto-fetch
antigen bundle gnu-utils
antigen bundle heroku
# antigen bundle adb
# antigen bundle colored-man-pages
# antigen bundle command-not-found
# antigen bundle copyfile
# antigen bundle copybuffer
# antigen bundle encode64
# antigen bundle fd
# antigen bundle git-auto-fetch
# antigen bundle gnu-utils
# antigen bundle heroku
# antigen bundle keychain
antigen bundle kubectx
antigen bundle macos
antigen bundle magic-enter
antigen bundle minikube
antigen bundle ng
antigen bundle nomad
antigen bundle npm
antigen bundle redis-cli
antigen bundle ripgrep
# antigen bundle kubectx
# antigen bundle macos
# antigen bundle magic-enter
# antigen bundle minikube
# antigen bundle ng
# antigen bundle nomad
# antigen bundle npm
# antigen bundle redis-cli
# antigen bundle ripgrep
# antigen bundle rust
antigen bundle safe-paste
antigen bundle salt
# antigen bundle safe-paste
# antigen bundle salt
# antigen bundle shell-proxy
# antigen bundle ssh-agent
antigen bundle sudo
antigen bundle ufw
# antigen bundle sudo
# antigen bundle ufw
# antigen bundle web-search
### Disable plugin alias
# alias alias=true
antigen bundle docker
antigen bundle docker-compose
antigen bundle gem
antigen bundle ionic
antigen bundle microk8s
antigen bundle multipass
antigen bundle pip
antigen bundle pm2
antigen bundle terraform
antigen bundle vagrant
antigen bundle yarn
# unalias alias
# antigen bundle docker
# antigen bundle docker-compose
# antigen bundle gem
# antigen bundle ionic
# antigen bundle microk8s
# antigen bundle multipass
# antigen bundle pip
# antigen bundle pm2
# antigen bundle terraform
# antigen bundle vagrant
# antigen bundle yarn
# antigen bundle zsh-interactive-cd
# antigen bundle zsh-navigation-tools

View file

@ -1,4 +1,6 @@
{{- if eq .chezmoi.os "darwin" }}
#!/usr/bin/env sh
{{ if eq .chezmoi.os "darwin" }}
### macOS Polyfills
if command -v brew > /dev/null; then
PATH="$(brew --prefix)/opt/coreutils/libexec/gnubin:$PATH"

View file

@ -1,3 +1,5 @@
#!/usr/bin/env sh
# Install WebDriverAgent on iOS device
appiumwebdriver() {
# read -r "Enter the UDID of the device you wish to install WebDriverAgent on: " UDID_INPUT

View file

@ -1,3 +1,5 @@
#!/usr/bin/env sh
### MOTD
# Add file named .hushlogin in the user's home directory to disable the MOTD
if [ "$BASH_SUPPORT" = 'true' ] && [ ! -f ~/.hushlogin ] && [ "$SHLVL" -eq 1 ]; then

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/usr/bin/env sh
export LEXICON_CLOUDFLARE_USERNAME={{ .user.CLOUDFLARE_USERNAME }}

View file

@ -1,15 +1,17 @@
#!/usr/bin/env sh
# shellcheck disable=SC1090,SC1091
# Aliases / Functions / Exports
export XDG_CONFIG_HOME="$HOME/.config"
if [ -f "$XDG_CONFIG_HOME/shell/exports" ]; then
. "$XDG_CONFIG_HOME/shell/exports"
if [ -f "$XDG_CONFIG_HOME/shell/exports.sh" ]; then
. "$XDG_CONFIG_HOME/shell/exports.sh"
fi
if [ -f "$XDG_CONFIG_HOME/shell/aliases" ]; then
. "$XDG_CONFIG_HOME/shell/aliases"
if [ -f "$XDG_CONFIG_HOME/shell/aliases.sh" ]; then
. "$XDG_CONFIG_HOME/shell/aliases.sh"
fi
if [ -f "$XDG_CONFIG_HOME/shell/functions" ]; then
. "$XDG_CONFIG_HOME/shell/functions"
if [ -f "$XDG_CONFIG_HOME/shell/functions.sh" ]; then
. "$XDG_CONFIG_HOME/shell/functions.sh"
fi
### Colorize
@ -115,8 +117,8 @@ if [ "$BASH_SUPPORT" = 'true' ]; then
#fi
### MOTD
if [ -f "$XDG_CONFIG_HOME/shell/motd" ]; then
. "$XDG_CONFIG_HOME/shell/motd"
if [ -f "$XDG_CONFIG_HOME/shell/motd.sh" ]; then
. "$XDG_CONFIG_HOME/shell/motd.sh"
fi
fi