Remove "dot" alias
Kinda don't need that anymore
This commit is contained in:
parent
f371c43557
commit
006aa36b1c
@ -267,31 +267,6 @@ if has vault; then
|
||||
alias vr="vault read"
|
||||
fi
|
||||
|
||||
# Dotfile management aliases
|
||||
if [ -d "$HOME/.dotfiles" ]; then
|
||||
dotcmd='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
||||
alias dot="$dotcmd"
|
||||
if [ -f "/usr/share/bash-completion/completions/git" ] && [ "$_baseshell" == "bash" ]; then
|
||||
. "/usr/share/bash-completion/completions/git"
|
||||
__git_complete dot _git
|
||||
fi
|
||||
alias dotupdate="\
|
||||
printf 'Pulling...\n'
|
||||
$dotcmd pull
|
||||
printf 'Updating submodules...\n'
|
||||
$dotcmd submodule update --init --recursive --remote
|
||||
$dotcmd status"
|
||||
alias dotupgrade="\
|
||||
printf 'Pulling...\n'
|
||||
$dotcmd pull
|
||||
printf 'Updating submodules...\n'
|
||||
$dotcmd submodule update --init
|
||||
printf 'Checking out masters...\n'
|
||||
$dotcmd submodule -q foreach --recursive 'git checkout -q master && git pull' && \
|
||||
$dotcmd status"
|
||||
unset dotcmd
|
||||
fi
|
||||
|
||||
# Aliases for common utilities
|
||||
if [ "$(uname)" = "Linux" ] || has brew; then
|
||||
# Assume we have GNU coreutils
|
||||
|
Loading…
Reference in New Issue
Block a user