diff --git a/config_files/.screenrc b/config_files/.screenrc index 0cb731a..4b963f4 100644 --- a/config_files/.screenrc +++ b/config_files/.screenrc @@ -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# diff --git a/config_files/.zshrc b/config_files/.zshrc index 052b788..3e07ae0 100644 --- a/config_files/.zshrc +++ b/config_files/.zshrc @@ -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" + + + diff --git a/install.sh b/install.sh index 695ded8..d1b897a 100644 --- a/install.sh +++ b/install.sh @@ -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" diff --git a/uninstall.sh b/uninstall.sh index 4ea2f3e..c0ae379 100644 --- a/uninstall.sh +++ b/uninstall.sh @@ -1,7 +1,7 @@ #!/bin/bash # COLORS -source color.sh +source ./asides/color.sh KEY_PHRASE="#hugogogo#"