Aliases úteis do Mercurial

#!/bin/bash

# Copy the name of the current branch to the clipboard
alias hgb="hg branch |
tr -d 'n' |

xclip -selection clipboard &&

echo "$(xclip -selection clipboard -o)"" ""


# Show all branches in a more readable way
alias hgbs=""hg branches |
column -t |

sort""


# Same as hgbs