Skip to content

Commit

Permalink
Revert f4ae3f1
Browse files Browse the repository at this point in the history
  • Loading branch information
robertgzr committed Oct 11, 2018
1 parent f5a48d1 commit 80ab533
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions porcelain.tmux
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PORCELAIN_BIN="$CURRENT_DIR/porcelain"

global_porcelain=""
porcelain_status="#($PORCELAIN_BIN -debug -tmux -path '#{pane_current_path}')"
porcelain_status="#($PORCELAIN_BIN -tmux -path '#{pane_current_path}')"
porcelain_interpolation_string="\#{porcelain}"

do_interpolation() {
Expand All @@ -26,14 +25,6 @@ install() {
}

main() {
global_porcelain="$(command -v porcelain)"
if [[ -f "$global_porcelain" ]]
then
PORCELAIN_BIN=$global_porcelain
install
exit 0
fi

if ! [[ -f "$PORCELAIN_BIN" ]]
then
curl -sL "$(curl -s https://api.github.com/repos/robertgzr/porcelain/releases/latest | grep "browser_download_url" | grep "$(uname | tr '[:upper:]' '[:lower:]')"| cut -d\" -f4)" |\
Expand Down

0 comments on commit 80ab533

Please sign in to comment.