# @which only reports filename instead of full path

**URL:** https://discourse.julialang.org/t/which-only-reports-filename-instead-of-full-path/69222
**Category:** General Usage
**Tags:** question
**Created:** [October 5, 2021, 8:13am UTC](https://discourse.julialang.org/t/which-only-reports-filename-instead-of-full-path/69222 "2021-10-05T08:13:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![schlichtanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/schlichtanders/32/32145_2.png) [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)
#### Post date: [October 5, 2021, 8:13am UTC](https://discourse.julialang.org/t/which-only-reports-filename-instead-of-full-path/69222/1 "2021-10-05T08:13:10Z")

</div>

When using `@which` julia does not report the full file, but only the file name.  
Hence I cannot jump to the source code. I have installed julia via standard binary installer on nixos.

```julia
julia> @which show("hi")
show(x) in Base at show.jl:392

```

Does someone know how to fix this so that it outputs the full path?

---

<div class="post-metadata">

### Author: ![hendri54](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hendri54/32/9621_2.png) [@hendri54](https://discourse.julialang.org/u/hendri54)
#### Post date: [October 5, 2021, 4:33pm UTC](https://discourse.julialang.org/t/which-only-reports-filename-instead-of-full-path/69222/2 "2021-10-05T16:33:02Z")

</div>

```julia
julia> functionloc(show, (String, ))
("/Applications/Julia-1.6.app/Contents/Resources/julia/share/julia/base/show.jl", 392)

```
