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:
parent
4549b369f4
commit
ad3f4e81b7
8 changed files with 59 additions and 55 deletions
|
@ -9,6 +9,11 @@ if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ]; then
|
||||||
export BASH_SUPPORT=true
|
export BASH_SUPPORT=true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
### Import Common Settings
|
||||||
|
if [ -f "$HOME/.config/shell/profile.sh" ]; then
|
||||||
|
. "$HOME/.config/shell/profile.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
### Fig / LC_ALL
|
### Fig / LC_ALL
|
||||||
if [ "$BASH_SUPPORT" = 'true' ]; then
|
if [ "$BASH_SUPPORT" = 'true' ]; then
|
||||||
if [[ "$(hostname)" != *'-minimal' ]]; then
|
if [[ "$(hostname)" != *'-minimal' ]]; then
|
||||||
|
@ -19,11 +24,6 @@ if [ "$BASH_SUPPORT" = 'true' ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### Import Common Settings
|
|
||||||
if [ -f "$HOME/.config/shell/profile" ]; then
|
|
||||||
. "$HOME/.config/shell/profile"
|
|
||||||
fi
|
|
||||||
|
|
||||||
### Settings
|
### Settings
|
||||||
if command -v shopt > /dev/null; then
|
if command -v shopt > /dev/null; then
|
||||||
shopt -s globstar
|
shopt -s globstar
|
||||||
|
|
|
@ -9,8 +9,8 @@ export BASH_SUPPORT=true
|
||||||
|
|
||||||
### Import Common Settings
|
### Import Common Settings
|
||||||
export XDG_CONFIG_HOME="$HOME/.config"
|
export XDG_CONFIG_HOME="$HOME/.config"
|
||||||
if [ -f "$HOME/.config/shell/profile" ]; then
|
if [ -f "$HOME/.config/shell/profile.sh" ]; then
|
||||||
. "$XDG_CONFIG_HOME/shell/profile"
|
. "$XDG_CONFIG_HOME/shell/profile.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### Misc.
|
### Misc.
|
||||||
|
@ -251,49 +251,45 @@ if [ -f "$HOME/.local/scripts/antigen.zsh" ]; then
|
||||||
fi
|
fi
|
||||||
if command -v antigen > /dev/null; then
|
if command -v antigen > /dev/null; then
|
||||||
antigen use oh-my-zsh
|
antigen use oh-my-zsh
|
||||||
antigen bundle adb
|
# antigen bundle adb
|
||||||
antigen bundle colored-man-pages
|
# antigen bundle colored-man-pages
|
||||||
antigen bundle command-not-found
|
# antigen bundle command-not-found
|
||||||
antigen bundle copyfile
|
# antigen bundle copyfile
|
||||||
antigen bundle copybuffer
|
# antigen bundle copybuffer
|
||||||
antigen bundle encode64
|
# antigen bundle encode64
|
||||||
antigen bundle fd
|
# antigen bundle fd
|
||||||
antigen bundle git-auto-fetch
|
# antigen bundle git-auto-fetch
|
||||||
antigen bundle gnu-utils
|
# antigen bundle gnu-utils
|
||||||
antigen bundle heroku
|
# antigen bundle heroku
|
||||||
# antigen bundle keychain
|
# antigen bundle keychain
|
||||||
antigen bundle kubectx
|
# antigen bundle kubectx
|
||||||
antigen bundle macos
|
# antigen bundle macos
|
||||||
antigen bundle magic-enter
|
# antigen bundle magic-enter
|
||||||
antigen bundle minikube
|
# antigen bundle minikube
|
||||||
antigen bundle ng
|
# antigen bundle ng
|
||||||
antigen bundle nomad
|
# antigen bundle nomad
|
||||||
antigen bundle npm
|
# antigen bundle npm
|
||||||
antigen bundle redis-cli
|
# antigen bundle redis-cli
|
||||||
antigen bundle ripgrep
|
# antigen bundle ripgrep
|
||||||
# antigen bundle rust
|
# antigen bundle rust
|
||||||
antigen bundle safe-paste
|
# antigen bundle safe-paste
|
||||||
antigen bundle salt
|
# antigen bundle salt
|
||||||
# antigen bundle shell-proxy
|
# antigen bundle shell-proxy
|
||||||
# antigen bundle ssh-agent
|
# antigen bundle ssh-agent
|
||||||
antigen bundle sudo
|
# antigen bundle sudo
|
||||||
antigen bundle ufw
|
# antigen bundle ufw
|
||||||
# antigen bundle web-search
|
# antigen bundle web-search
|
||||||
|
# antigen bundle docker
|
||||||
### Disable plugin alias
|
# antigen bundle docker-compose
|
||||||
# alias alias=true
|
# antigen bundle gem
|
||||||
antigen bundle docker
|
# antigen bundle ionic
|
||||||
antigen bundle docker-compose
|
# antigen bundle microk8s
|
||||||
antigen bundle gem
|
# antigen bundle multipass
|
||||||
antigen bundle ionic
|
# antigen bundle pip
|
||||||
antigen bundle microk8s
|
# antigen bundle pm2
|
||||||
antigen bundle multipass
|
# antigen bundle terraform
|
||||||
antigen bundle pip
|
# antigen bundle vagrant
|
||||||
antigen bundle pm2
|
# antigen bundle yarn
|
||||||
antigen bundle terraform
|
|
||||||
antigen bundle vagrant
|
|
||||||
antigen bundle yarn
|
|
||||||
# unalias alias
|
|
||||||
|
|
||||||
# antigen bundle zsh-interactive-cd
|
# antigen bundle zsh-interactive-cd
|
||||||
# antigen bundle zsh-navigation-tools
|
# antigen bundle zsh-navigation-tools
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
{{- if eq .chezmoi.os "darwin" }}
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
{{ if eq .chezmoi.os "darwin" }}
|
||||||
### macOS Polyfills
|
### macOS Polyfills
|
||||||
if command -v brew > /dev/null; then
|
if command -v brew > /dev/null; then
|
||||||
PATH="$(brew --prefix)/opt/coreutils/libexec/gnubin:$PATH"
|
PATH="$(brew --prefix)/opt/coreutils/libexec/gnubin:$PATH"
|
|
@ -1,3 +1,5 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
# Install WebDriverAgent on iOS device
|
# Install WebDriverAgent on iOS device
|
||||||
appiumwebdriver() {
|
appiumwebdriver() {
|
||||||
# read -r "Enter the UDID of the device you wish to install WebDriverAgent on: " UDID_INPUT
|
# read -r "Enter the UDID of the device you wish to install WebDriverAgent on: " UDID_INPUT
|
|
@ -1,3 +1,5 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
### MOTD
|
### MOTD
|
||||||
# Add file named .hushlogin in the user's home directory to disable the 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
|
if [ "$BASH_SUPPORT" = 'true' ] && [ ! -f ~/.hushlogin ] && [ "$SHLVL" -eq 1 ]; then
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
export LEXICON_CLOUDFLARE_USERNAME={{ .user.CLOUDFLARE_USERNAME }}
|
export LEXICON_CLOUDFLARE_USERNAME={{ .user.CLOUDFLARE_USERNAME }}
|
||||||
|
|
|
@ -1,15 +1,17 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
# shellcheck disable=SC1090,SC1091
|
# shellcheck disable=SC1090,SC1091
|
||||||
|
|
||||||
# Aliases / Functions / Exports
|
# Aliases / Functions / Exports
|
||||||
export XDG_CONFIG_HOME="$HOME/.config"
|
export XDG_CONFIG_HOME="$HOME/.config"
|
||||||
if [ -f "$XDG_CONFIG_HOME/shell/exports" ]; then
|
if [ -f "$XDG_CONFIG_HOME/shell/exports.sh" ]; then
|
||||||
. "$XDG_CONFIG_HOME/shell/exports"
|
. "$XDG_CONFIG_HOME/shell/exports.sh"
|
||||||
fi
|
fi
|
||||||
if [ -f "$XDG_CONFIG_HOME/shell/aliases" ]; then
|
if [ -f "$XDG_CONFIG_HOME/shell/aliases.sh" ]; then
|
||||||
. "$XDG_CONFIG_HOME/shell/aliases"
|
. "$XDG_CONFIG_HOME/shell/aliases.sh"
|
||||||
fi
|
fi
|
||||||
if [ -f "$XDG_CONFIG_HOME/shell/functions" ]; then
|
if [ -f "$XDG_CONFIG_HOME/shell/functions.sh" ]; then
|
||||||
. "$XDG_CONFIG_HOME/shell/functions"
|
. "$XDG_CONFIG_HOME/shell/functions.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### Colorize
|
### Colorize
|
||||||
|
@ -115,8 +117,8 @@ if [ "$BASH_SUPPORT" = 'true' ]; then
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
### MOTD
|
### MOTD
|
||||||
if [ -f "$XDG_CONFIG_HOME/shell/motd" ]; then
|
if [ -f "$XDG_CONFIG_HOME/shell/motd.sh" ]; then
|
||||||
. "$XDG_CONFIG_HOME/shell/motd"
|
. "$XDG_CONFIG_HOME/shell/motd.sh"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue