shell - Execute python script while open terminal -


i want this: execute python script while open terminal (i using iterm , fish-shell).

the fish-shell new me, read documentation - recommend. title "initialisation files": http://fishshell.com/docs/current/index.html#initialization

so looked call python scripts ~/.config/fish/config.fish

so installed fish on macbook , had create config.fish file. in placed:

~/gash.py 

that executes python program gash.py in home directory. of course #! line has correct , have have execute permissions (as usual). entered fish shell , executed program.

thanks that, fish-shell looks quite interesting. love stackoverflow.


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -