From 006aa36b1ce6fcbaad605420459d3cfb82bfe68a Mon Sep 17 00:00:00 2001 From: Salt Date: Tue, 19 Jan 2021 02:19:47 -0600 Subject: [PATCH] Remove "dot" alias Kinda don't need that anymore --- base/.profile | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/base/.profile b/base/.profile index 0e1bb204..5ae297e3 100755 --- a/base/.profile +++ b/base/.profile @@ -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