Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Default tmux to current directory

  • Loading branch information...
commit 749347c98cbb19fbfcb14c8ea4ddbaf197d38075 1 parent a678e55
@avdgaag authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 libexec/ag-tmux
View
6 libexec/ag-tmux
@@ -37,13 +37,13 @@ fi
# Require at least one argument
if [ -z "$1" ]; then
- echo "Usage: hack NAME [PATH]"
- exit 1
+ PROJECT=$(basename $PWD)
+else
+ PROJECT=$1
fi
set -u
-PROJECT=$1
# See if there is a .bundle directory with configuration for binstubs path. If there is,
# tell the current tmux pane to add it to the local PATH.
Please sign in to comment.
Something went wrong with that request. Please try again.