diff --git a/dotfiles/shell/aliases b/dotfiles/shell/aliases index 59e8f7a..5710425 100644 --- a/dotfiles/shell/aliases +++ b/dotfiles/shell/aliases @@ -66,12 +66,6 @@ clitip() { xmlstarlet unesc | fmt -80 | iconv -t US } -cockpit() { # enable pass-like commands (ex: cockpit git push) - local start_dir="$PWD" - cd ~/setup-cockpit && "$@" - cd "$start_dir" && echo 'done' -} - system-update() { # Don't update if its a kernel update that will require reboot if checkupdates >/dev/null 2>&1; then @@ -107,7 +101,7 @@ aur-update() { cd "$start_dir" || exit 1 } -pull-from-repos() { +git-pull-from-repos() { local start_dir="$PWD" local git_repos=($(find ~ -name .git -type d -not -path '*/.vim/*' -and -not -path '*/.local/*' -and -not -path '*/builds/*' -exec dirname {} \;)) for repo in "${git_repos[@]}"; do @@ -117,7 +111,7 @@ pull-from-repos() { cd "$start_dir" || exit 1 } -check-unpushed() { +git-check-unpushed() { local start_dir="$PWD" local git_repos=($(find ~ -name .git -type d -not -path '*/.vim/*' -and -not -path '*/.local/*' -and -not -path '*/builds/*' -exec dirname {} \;)) for repo in "${git_repos[@]}"; do