Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env expect
- trap {
- set rows [stty rows]
- set cols [stty columns]
- stty rows $rows columns $cols < $spawn_out(slave,name)
- } WINCH
- log_user 0
- spawn -noecho /bin/zsh -d -f
- stty -echo
- #send "source ./bin/activate\r"
- send "export PS1='*| '\r"
- send "bindkey -e\r"
- send {export PATH="/home/rahul.gopinath/.pyenv/bin:$PATH"}
- send "\r"
- send {eval "$(pyenv init -)"}
- send "\r"
- send {eval "$(pyenv virtualenv-init -)"}
- send "\r"
- interact
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement