Skip to content

Commit abff05f

Browse files
committed
Simplify 'alias ma' now that my_activity has --output-format-heading
1 parent 7b08bd5 commit abff05f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aliases

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ alias g='gclient runhooks'
7575
alias gsync='GYP_CHROMIUM_NO_ACTION=1 gclient sync -D'
7676
alias hr='echo "$(tput setab 2; tput bold)============================================================================================================================================================================$(tput sgr 0)"'
7777
alias lupdate='git branch -D lkgr 1>/dev/null 2&>1; git lkgr | xargs git branch -f lkgr'
78-
alias ma='my_activity.py --output-format=" - {url} \"{title}\"" | sed -e "s/^Changes:$/- Changes:/g" | sed -e "s/^Reviews:$/- Reviews:/g" | sed -e "s/^Issues:$/- Issues:/g" | sed -e "s|https://||"'
78+
alias ma='my_activity.py --output-format=" - [\"{title}\"]({url})" --output-format-heading="- {heading}"'
7979
alias mount-tmpfs-out='sudo mount -t tmpfs -o size=50% tmpfs out'
8080
alias n='notify'
8181
alias notify-fail='(notify-send -i $BASH_CONFIG_DIR/icons/red.png "FAIL"; paplay /usr/share/sounds/freedesktop/stereo/complete.oga; exit 1)'

0 commit comments

Comments
 (0)