shell: split exports, reorg them. add x-dc script

This commit is contained in:
2023-04-08 03:38:09 +03:00
parent dbadcc3b6c
commit 5ce9906ff1
7 changed files with 418 additions and 124 deletions

View File

@@ -15,9 +15,6 @@ function x-set-php-aliases
# replace "php@" with "p" so "php@80" becomes "p80"
local php_alias="${php_abbr//php@/p}"
# Skip php = php aliasing
# if [[ "$php_abbr" == "$php_alias" ]]; then continue; fi;
# Fetch the exec path once
php_exec="$(brew --prefix "$version")/bin/php"
@@ -69,6 +66,11 @@ alias code_scanner='docker run
alias zedit='$EDITOR ~/.dotfiles'
if hash irssi 2> /dev/null; then
# shellcheck disable=2139
alias irssi="irssi --config='$IRSSI_CONFIG_FILE' --home='$IRSSI_CONFIG_HOME'"
fi
if [[ -f "$HOME/.aliases.local" ]]; then
# shellcheck disable=SC1091
source "$HOME/.aliases.local"