ajout actions a screenrc pour ouverture

This commit is contained in:
hugogogo
2022-03-02 13:43:00 +01:00
parent 19193a8e88
commit abc8e05ece

View File

@@ -30,18 +30,24 @@ bind f eval "hardstatus ignore"
bind F eval "hardstatus alwayslastline"
#screen open a new windows
# -t assigne un titre
# vim appel vim avec l'option -n pour eviter les .swp
# -t assign a title
# vim calls vim with the option -n to avoid the .swp
# the scheme 'screen -t <name> vim -n file.txt' will
# associate the window to the action 'vim', so it
# close as soon as you finish it. you can avoid that :
# https://stackoverflow.com/questions/7585069/run-commands-in-gnu-screen-windows-from-screenrc
# screen -t <name>
# stuff "vim file.txt^M"
chdir $HOME/huhuhu_config
screen -t config
screen -t shell vim -n $HOME/huhuhu_config/tutos/shell.txt
screen -t git vim -n $HOME/huhuhu_config/tutos/git.txt
screen -t screen vim -n $HOME/huhuhu_config/tutos/screen.txt
screen -t node vim -n $HOME/huhuhu_config/tutos/node.txt
screen -t react vim -n $HOME/huhuhu_config/tutos/react.txt
screen -t php vim -n $HOME/huhuhu_config/tutos/php.txt
screen -t sites vim -n $HOME/huhuhu_config/tutos/sites.txt
screen -t vim vim -n $HOME/huhuhu_config/tutos/vim.txt
screen
screen -t shell vim -n shell.txt
screen -t git vim -n git.txt
screen -t screen vim -n screen.txt
screen -t node vim -n node.txt
screen -t react vim -n react.txt
screen -t php vim -n php.txt
screen -t sites vim -n sites.txt
screen -t vim vim -n vim.txt
chdir $HOME
screen