diff options
author | David Phillips <david@sighup.nz> | 2016-11-09 22:33:10 +1300 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2016-11-09 22:33:10 +1300 |
commit | 6fcad58490e93e0c2a3da0e2dbb2f20d4f323366 (patch) | |
tree | da94af11446a71723d29cb80721c365d474f13c9 | |
parent | 49b53c75b94aea509436536f94dc3e65354b9fcf (diff) | |
download | dotfiles-6fcad58490e93e0c2a3da0e2dbb2f20d4f323366.tar.xz |
Add calculator convenience function to bashrc
-rw-r--r-- | bashrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -25,6 +25,11 @@ man() { LESS_TERMCAP_us=$'\E[04;38;5;146m' \ man "$@" } + +ccc () { + bc -l <<< "$@" +} + ############### PS1="${BYellow}\ ┌[${BGreen}\u${BYellow}@${BBlue}\h${BYellow}][${BPurple}\W${BYellow}"'$(__git_ps1 " (%s)")'"] ${BBlack}<\d \t>${BYellow}\n\ |