Make all aliases optional (a la plugins)
This continues a pattern that was introduced in ffa45b0 and refined
further in later commits. This enables all aliases by default, but can
be disabled by any user if they remove the appropriate
aliases/enabled/*.bash file.
This commit is contained in:
14
aliases/available/hg.aliases.bash
Normal file
14
aliases/available/hg.aliases.bash
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
alias hs='hg status'
|
||||
alias hsum='hg summary'
|
||||
alias hcm='hg commit -m'
|
||||
|
||||
function hg-help() {
|
||||
echo "Mercurial Alias Help"
|
||||
echo
|
||||
echo " hs = hg status"
|
||||
echo " hsum = hg summary"
|
||||
echo " hcm = hg commit -m"
|
||||
echo
|
||||
}
|
||||
Reference in New Issue
Block a user