You are not logged in.

#1 2014-01-21 00:45:53

body2pgl
Member
Registered: 2014-01-21
Posts: 3

My configuration gone wrong

Hello,



first of all i have as a wm on my arch, xmonad wich first was like this -> JPG
yesterday i wanted to configure vim for python, i found a tutorial on internet .. url for the tutorial .. and after installing this things..

$ git clone https://github.com/sontek/dotfiles.git
$ cd dotfiles
$ ./install.sh vim

$ mkdir ~/.vim/
$ mkdir ~/.vim/{autoload,bundle}
$ cd ~/.vim/
$ git init

copied in .vimrc

filetype off
call pathogen#runtime_append_all_bundles()
call pathogen#helptags()

git submodule add http://github.com/tpope/vim-fugitive.git bundle/fugitive
git submodule add https://github.com/msanders/snipmate.vim.git bundle/snipmate
git submodule add https://github.com/tpope/vim-surround.git bundle/surround
git submodule add https://github.com/tpope/vim-git.git bundle/git
git submodule add https://github.com/ervandew/supertab.git bundle/supertab
git submodule add https://github.com/sontek/minibufexpl.vim.git bundle/minibufexpl
git submodule add https://github.com/wincent/Command-T.git bundle/command-t
git submodule add https://github.com/mitechie/pyflakes-pathogen.git
git submodule add https://github.com/mileszs/ack.vim.git bundle/ack
git submodule add https://github.com/sjl/gundo.vim.git bundle/gundo
git submodule add https://github.com/fs111/pydoc.vim.git bundle/pydoc
git submodule add https://github.com/vim-scripts/pep8.git bundle/pep8
git submodule add https://github.com/alfredodeza/pytest.vim.git bundle/py.test
git submodule add https://github.com/reinh/vim-makegreen bundle/makegreen
git submodule add https://github.com/vim-scripts/TaskList.vim.git bundle/tasklist
git submodule add https://github.com/vim-scripts/The-NERD-tree.git bundle/nerdtree
git submodule add https://github.com/sontek/rope-vim.git bundle/ropevim
git submodule init
git submodule update
git submodule foreach git submodule init
git submodule foreach git submodule update


ok and after installing this, wich i can't understant what can conflict with my xmonad when i installed only vim / vim plugins / etc... my xmonad crashed ...
i made a reboot, and xmonad starts but without any of my keyboard shorcuts, dzen2, conky,nothing,it's only a black screen with my mouse cursor.... what can i do ?

Last edited by body2pgl (2014-01-21 01:00:59)

Offline

#2 2014-01-21 04:06:04

ThePacman
Member
From: Classified
Registered: 2013-09-19
Posts: 127

Re: My configuration gone wrong

If you want to just clean your config and start over, type

mv ~/.xmonad ~/.xmonad-old
mkdir ~/.xmonad

Your old configuration will now be stored in ~/.xmonad-old and your new config folder will be empty.

Last edited by ThePacman (2014-01-21 04:06:14)


Fedora believes in "software freedom" - that is, restricting user software choices to those deemed appropriately licensed by The Powers That Be.
Arch believes in "freedom", as well - the user has control over his or her system and can do what he wants with it.
https://fedoraproject.org/wiki/Forbidden_items | https://wiki.archlinux.org/index.php/The_Arch_Way

Offline

#3 2014-01-21 05:45:28

body2pgl
Member
Registered: 2014-01-21
Posts: 3

Re: My configuration gone wrong

fu*** me , those commands cleared all my configs, omg
i mean the commands i used for vim, not yours....
can someone tell me witch one of them cleared my confing ? that nextime i can be carefull ?

Last edited by body2pgl (2014-01-21 05:46:49)

Offline

#4 2014-01-21 05:50:21

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: My configuration gone wrong

It's never a good idea to run scripts that you don't understand.

Fortunately, you can restore from your backups, right?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-01-21 07:23:00

body2pgl
Member
Registered: 2014-01-21
Posts: 3

Re: My configuration gone wrong

jasonwryan wrote:

It's never a good idea to run scripts that you don't understand.

Fortunately, you can restore from your backups, right?

yes, fortunately i found my backups. now it's restored huh thank god.

next step, i'm gonna do a github backup big_smile

Last edited by body2pgl (2014-01-21 07:23:46)

Offline

#6 2014-01-21 09:31:19

Neburski
Member
Registered: 2009-09-15
Posts: 118

Re: My configuration gone wrong

body2pgl wrote:

can someone tell me witch one of them cleared my confing ?

The command that cleared all your configs was

./install.sh vim

because "vim" isn't an option that the install script accepts. The tutorial that you used is several years old and he obviously changed his install script in the mean time. Open the script and you'll see that there are only 2 options available: "restore" and no option. If your argument doesn't match "restore" then the script will install all of his configurations in one go, regardless of what you provided as an argument.

body2pgl wrote:

that nextime i can be carefull ?

Just as jasonwryan said, don't run scripts that you don't understand. This script was pretty easy to figure out, so you could have easily figured it out. Also whenever you use tutorials, you should check the date it was posted so you get an idea if it's actual or if it might be outdated. This particular tutorial was posted in May 2011, that's nearly 3 years ago. You could have easily expected that tutorial to be outdated.

Last edited by Neburski (2014-01-21 09:33:19)

Offline

Board footer

Powered by FluxBB