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
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
|
@ -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
|
|
@ -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
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/usr/bin/env sh
|
||||
|
||||
export LEXICON_CLOUDFLARE_USERNAME={{ .user.CLOUDFLARE_USERNAME }}
|
||||
|
|
@ -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
|
||||
|
Loading…
Reference in a new issue