aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-02-10 23:46:48 +1300
committerTom Ryder <tom@sanctum.geek.nz>2014-02-10 23:46:48 +1300
commit5d6e060ff463d5ec0d9022ab6010865f34765445 (patch)
treef557402b349284942a94d7f354f8dea1f0d7bc81
parentNot sure why I ever set TTY (diff)
downloaddotfiles-5d6e060ff463d5ec0d9022ab6010865f34765445.tar.gz
dotfiles-5d6e060ff463d5ec0d9022ab6010865f34765445.zip
Remove some unneeded semicolons
-rw-r--r--bash/bashrc.d/prompt.bash6
1 files changed, 3 insertions, 3 deletions
diff --git a/bash/bashrc.d/prompt.bash b/bash/bashrc.d/prompt.bash
index 95ef4ab6..0214792e 100644
--- a/bash/bashrc.d/prompt.bash
+++ b/bash/bashrc.d/prompt.bash
@@ -18,10 +18,10 @@ prompt() {
# Count available colors, reset, and format (decided shortly)
local -i colors=$( {
tput Co || tput colors
- } 2>/dev/null );
+ } 2>/dev/null )
local reset=$( {
tput me || tput sgr0
- } 2>/dev/null );
+ } 2>/dev/null )
local format
# Check if we have non-bold bright green available
@@ -66,7 +66,7 @@ prompt() {
branch=$( {
git symbolic-ref --quiet HEAD \
|| git rev-parse --short HEAD
- } 2>/dev/null );
+ } 2>/dev/null )
if [[ ! $branch ]]; then
return 1
fi