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
Post a Comment