Try $_
from http://fishshell.com/docs/2.0/index.html#variables
On Tuesday, June 11, 2013, Michael Stillwell wrote:
> Is there a fish equivalent of $0 (the full pathname of the running
> script)? (Or indeed any way to determine what directory a script is
> in, from within the script itself?)
>
>
>
>
> Michael
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net <javascript:;>
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users