add windows on huhuhu_config in opening of screen

This commit is contained in:
Hugo LAMY
2022-03-01 19:13:47 +01:00
parent 9af0f4b1ad
commit 88b44c1514
4 changed files with 31 additions and 21 deletions

View File

@@ -2,7 +2,6 @@
startup_message off
chdir $HOME/
#pour augmenter le scrollback de l'ecran
defscrollback 10000
@@ -33,6 +32,8 @@ 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
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
@@ -41,7 +42,7 @@ 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
chdir $HOME
screen
#hugogogo#

View File

@@ -1,22 +1,19 @@
#hugogogo#
# ----------------------------------------------------
# aliases
# ----------------------------------------------------
alias open="xdg-open"
# ----------------------------------------------------
# configs from old file
# i'm not sure what to do with them
# will it work on another computer ?
# ----------------------------------------------------
#export ZSH="/mnt/nfs/homes/hulamy/.oh-my-zsh"
#plugins=(git)
#source $ZSH/oh-my-zsh.sh
#ZSH_THEME="robbyrussell"
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell"
plugins=(git)
source $ZSH/oh-my-zsh.sh
@@ -75,3 +72,15 @@ alias open="xdg-open"
# fi
# }
# ----------------------------------------------------
# aliases
# ----------------------------------------------------
alias open="xdg-open"

View File

@@ -1,7 +1,7 @@
#!/bin/bash
# COLORS
source color.sh
source ./asides/color.sh
KEY_PHRASE="#hugogogo#"
HERE=$(pwd)
@@ -49,11 +49,11 @@ function install
}
# argument : directory where the config file should go
install "$home/.screenrc"
install "$home/.vimrc"
install "$home/.zshrc"
install "$home/.vim/templates/skeleton_color.h"
install "$home/.vim/templates/skeleton.cpp"
install "$home/.vim/templates/skeleton.hpp"
install "$home/.vim/templates/skeleton_main.cpp"
install "$home/.vim/templates/skeleton_makefile"
install "$HOME/.screenrc"
install "$HOME/.vimrc"
install "$HOME/.zshrc"
install "$HOME/.vim/templates/skeleton_color.h"
install "$HOME/.vim/templates/skeleton.cpp"
install "$HOME/.vim/templates/skeleton.hpp"
install "$HOME/.vim/templates/skeleton_main.cpp"
install "$HOME/.vim/templates/skeleton_makefile"

View File

@@ -1,7 +1,7 @@
#!/bin/bash
# COLORS
source color.sh
source ./asides/color.sh
KEY_PHRASE="#hugogogo#"