alias grep-queued { cd /ssh:ssh.upload.debian.org: && *grep $* /srv/upload.debian.org/queued/run/log } alias grep-dak { cd /ssh:ftp-master.debian.org: && *grep $* /srv/ftp-master.debian.org/log/current } alias push-develacc-dotfiles-branch git push -f origin develacc/develacc-"${hostname}":develacc-"${hostname}" alias sbuild-prerelease sbuild --dpkg-source-opts='-Zgzip -z1 --format=1.0 -sn' $* alias sbuild-lts quilt pop -a; git is-clean ':!debian/patches/' && sbuild --no-clean-source $* alias dpkg-bp-lts quilt pop -a; git is-clean && dpkg-buildpackage -S -nc --force-sign $* alias dpkg-buildpackage-lts dpkg-bp-lts $* alias d dired $1 alias e find-file $1 alias o find-file-other-window $1 alias g git $* alias ga git annex $* alias a2ac annex-to-annex --commit $@ alias v view-file-other-window $1 >/dev/null alias dak-rdeps { cd /ssh:mirror.ftp-master.debian.org: && dak rm -Rn $* } alias bts-policy bts user debian-policy@packages.debian.org , package debian-policy , $* alias afsid apt-file --filter-suites unstable $* alias grepcopy grep -Eir '(copyright|©)' * alias pdfwords pdftotext "$1" - | wc -w alias dlp lp -o sides=two-sided-long-edge $* alias pdd dd bs=4M status=progress conv=fdatasync $* alias tail-dak { cd /ssh:ftp-master.debian.org:/srv/ftp-master.debian.org/log && tail -f current } alias tail-queued { cd /ssh:ssh.upload.debian.org:/srv/upload.debian.org/queued/run && tail -f log } alias package-plan-unpack ~/src/dotfiles/scripts/debian/package-plan-unpack "$1"; cd "/tmp/$1" alias deborphan-all deborphan -ap4 --no-show-section | column -x alias ledger ledger --no-pager $* # Commands for which we always want to use the external executable. alias date *date $* # Override ~/.config/git/config and ~/.profile whose settings imply colours # only when output is a tty, which it isn't with Eshell. # We could just export the environment variables, but this should restrict the # colouration to commands run interactively, not others buried in scripts. alias git git -c color.ui=always $* alias quilt QUILT_DIFF_ARGS="-p ab --color=always" QUILT_PUSH_ARGS=--color=always quilt $*