dotfiles.2022/_home/dot_sz.shrc.d/bash.pre/21_aliases

7 lines
181 B
Plaintext

alias which-command="type -fP "
function add-alias-to-bash-completion-code() {
local CMD=$(printf "%s" "sed '" 's/\(complete\W.*-F\W.*chezmoi\)/\1 ' "$1/g'")
eval "$CMD"
}