Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
Fixed a bug with whitespace in dir name. Fixes #36.
Browse files Browse the repository at this point in the history
  • Loading branch information
wbyoung committed Jan 16, 2016
1 parent 17c0519 commit 844751c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/avn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function __avn_eval() {

# avn chpwd hook
function __avn_chpwd() {
local file=$(__avn_find_file)
local file="$(__avn_find_file)"
local dir=${file%/*}
local name=${file##*/}

Expand All @@ -58,7 +58,7 @@ function __avn_chpwd() {

# debug that includes file lookup
function __avn_debug() {
local file=$(__avn_find_file)
local file="$(__avn_find_file)"
local dir=${file%/*}
local name=${file##*/}

Expand Down

0 comments on commit 844751c

Please sign in to comment.