systemSetup

system setup, configuration and dotfiles
git clone https://noulin.net/git/systemSetup.git
Log | Files | Refs | README | LICENSE

commit f7a146396199aebbaa3ecc4db816125bdf575869
parent 5ad059178ffd324dde123e01d61f82d6e6284ec6
Author: Remy Noulin (Spartatek) <remy.noulin@spartatek.se>
Date:   Thu, 17 Aug 2017 13:51:05 +0200

add 'new' command to create new scripts

and start vim

debian/3-home.sh       | 36 ++----------------------------------
debian/updateHome.sh   | 35 +++++++++++++++++++++++++++++++++++
dotfiles/.bash_aliases |  1 +
dotfiles/new.sh        |  3 +++
4 files changed, 41 insertions(+), 34 deletions(-)

Diffstat:
Mdebian/3-home.sh | 36++----------------------------------
Adebian/updateHome.sh | 35+++++++++++++++++++++++++++++++++++
Mdotfiles/.bash_aliases | 1+
Adotfiles/new.sh | 3+++
4 files changed, 41 insertions(+), 34 deletions(-)

diff --git a/debian/3-home.sh b/debian/3-home.sh @@ -1,42 +1,10 @@ -cp ../dotfiles/.bash_aliases ~/ -cp ../dotfiles/.bashrc ~/ -cp ../dotfiles/.gdbinit ~/ -cp ../dotfiles/.gitconfig ~/ -mkdir ~/.gittemplates -cp -R ../dotfiles/.gittemplates/* ~/.gittemplates/ -cp ../dotfiles/.tmux.conf ~/ -mkdir ~/.vim -cp -R ../dotfiles/.vim/* ~/.vim/ -cp ../dotfiles/.vimrc ~/ -mkdir ~/bin -cp ../dotfiles/updateXapianIndex.sh ~/bin/ -cp ../dotfiles/xapianOmegaSearch.sh ~/bin/ -mkdir ~/.gnupg -cp ../dotfiles/gpg-agent.conf ~/.gnupg/ -mkdir ~/.ssh -chown 700 ~/.ssh -cp ../dotfiles/.ssh/config ~/.ssh/ +./updateHome.sh #install vim vundle git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim # in vim run :PluginInstall - -# i3 -mkdir ~/.i3 -cp -R ../dotfiles/.i3/* ~/.i3/ - -# fluxbox -mkdir ~/.fluxbox -cp -R ../dotfiles/.fluxbox/* ~/.fluxbox/ - -# mc -mkdir -p ~/.config/mc -cp -R ../dotfiles/mc/* ~/.config/mc/ - -# ranger sixel/mlterm configuration -mkdir -p ~/.config/ranger -cp ../dotfiles/rc.conf ~/.config/ranger/ +echo 'in vim run :PluginInstall' # fzf git clone https://github.com/junegunn/fzf.git diff --git a/debian/updateHome.sh b/debian/updateHome.sh @@ -0,0 +1,35 @@ +cp ../dotfiles/.bash_aliases ~/ +cp ../dotfiles/.bashrc ~/ +cp ../dotfiles/.gdbinit ~/ +cp ../dotfiles/.gitconfig ~/ +mkdir ~/.gittemplates +cp -R ../dotfiles/.gittemplates/* ~/.gittemplates/ +cp ../dotfiles/.tmux.conf ~/ +mkdir ~/.vim +cp -R ../dotfiles/.vim/* ~/.vim/ +cp ../dotfiles/.vimrc ~/ +mkdir ~/bin +cp ../dotfiles/new.sh ~/bin/ +cp ../dotfiles/updateXapianIndex.sh ~/bin/ +cp ../dotfiles/xapianOmegaSearch.sh ~/bin/ +mkdir ~/.gnupg +cp ../dotfiles/gpg-agent.conf ~/.gnupg/ +mkdir ~/.ssh +chown 700 ~/.ssh +cp ../dotfiles/.ssh/config ~/.ssh/ + +# i3 +mkdir ~/.i3 +cp -R ../dotfiles/.i3/* ~/.i3/ + +# fluxbox +mkdir ~/.fluxbox +cp -R ../dotfiles/.fluxbox/* ~/.fluxbox/ + +# mc +mkdir -p ~/.config/mc +cp -R ../dotfiles/mc/* ~/.config/mc/ + +# ranger sixel/mlterm configuration +mkdir -p ~/.config/ranger +cp ../dotfiles/rc.conf ~/.config/ranger/ diff --git a/dotfiles/.bash_aliases b/dotfiles/.bash_aliases @@ -13,6 +13,7 @@ alias suspend='sudo pm-suspend' alias objdump='objdump -M intel' alias g='git' alias csv='scim --txtdelim=";"' +alias new='~/bin/new.sh' # Display colors in less : alias less="less -R" diff --git a/dotfiles/new.sh b/dotfiles/new.sh @@ -0,0 +1,3 @@ +touch $1 +chmod 755 $1 +vim $1