I have a python script I want to use for navigation. it returns a directory path ex /user/bin/dir/ I am making an ailas to it but I cant seem to pass it variables
this works in a shell
> cd `python ~doug/scripts/nv.py arg1
>>/user/bin/dir/
alias nav='cd python ~doug/scripts/nv.py $1'
but this alias doesn't work
I would expect arg1 gets passed to $1
python ~doug/scripts/nv.py arg1