aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/bc.bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-05-31 00:44:42 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-05-31 00:44:42 +1200
commitdeb74ddaf48652fd6352942ee56a0f40f05df81d (patch)
treec3a412f81815aae098ae1d21aeda934030d3264d /bash/bashrc.d/bc.bash
parentUse temp var for $* tests (diff)
downloaddotfiles-deb74ddaf48652fd6352942ee56a0f40f05df81d.tar.gz
dotfiles-deb74ddaf48652fd6352942ee56a0f40f05df81d.zip
Translate remaining aliases to functions
Diffstat (limited to 'bash/bashrc.d/bc.bash')
-rw-r--r--bash/bashrc.d/bc.bash5
1 files changed, 5 insertions, 0 deletions
diff --git a/bash/bashrc.d/bc.bash b/bash/bashrc.d/bc.bash
new file mode 100644
index 00000000..7cad9a52
--- /dev/null
+++ b/bash/bashrc.d/bc.bash
@@ -0,0 +1,5 @@
+# Don't print the bc(1) welcome message
+bc() {
+ command bc -q "$@"
+}
+