X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=tgt.go;fp=tgt.go;h=8e454f2c94a884dc85a826e47ba570eaf705c362;hb=af40222f5a3e6fa82207f7ba31c338eb44566ba3;hp=e7f3359b09854c0010651995ddf875bb62321ac3;hpb=4f169db6d7fc5ccd9bf2055c16d2a79b342190bd;p=goredo.git diff --git a/tgt.go b/tgt.go index e7f3359..8e454f2 100644 --- a/tgt.go +++ b/tgt.go @@ -27,11 +27,6 @@ func cwdMustRel(paths ...string) string { return mustRel(Cwd, path.Join(paths...)) } -func cwdAndTgt(tgt string) (string, string) { - cwd, tgt := path.Split(tgt) - return mustAbs(cwd), tgt -} - type Tgt struct { // a/h/t resemble zsh'es :a, :h, :t modifiers a string // absolute path