Mercurial > dotfiles
annotate .shell.d/01.aliases.sh @ 372:ce87db9038f5
havepatch: new script to easily check if a mailed patch is applied
Right now this only works on the hg repo, and it assumes the patch was
applied as a descendant of 3.5 to keep the checks quick. In a perfect
world I'd be able to do this all with obsolete marker checks, but that
doesn't seem to be a good option yet.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 13 Oct 2015 11:04:51 -0400 |
parents | 7576736ca6fa |
children |
rev | line source |
---|---|
0 | 1 #aliases and funtions to act like them |
39
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
2 function less() { |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
3 command less -M "$@" |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
4 } |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
5 function ll() { |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
6 command ls -lFh "$@" |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
7 } |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
8 function ls() { |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
9 command ls -F "$@" |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
10 } |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
11 function la() { |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
12 command ls -aF "$@" |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
13 } |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
14 function lla() { |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
15 command ls -laFh "$@" |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
16 } |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
17 function screen() { |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
18 command screen -U "$@" |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
19 } |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
20 function ipy() { |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
21 command ipython "$@" |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
22 } |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
23 function memacs() { |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
24 command open -a Emacs "$@" |
62bfb554ab85
Reorganize zsh files so that bash can work as well.
Augie Fackler <durin42@gmail.com>
parents:
0
diff
changeset
|
25 } |