-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup
More file actions
executable file
·32 lines (25 loc) · 1.31 KB
/
Copy pathsetup
File metadata and controls
executable file
·32 lines (25 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/bash
# Uncomment the next 4 lines to install git-aware-prompt for bash.
# I have switched to zhrc, so I, no longer use this
#mkdir ~/.bash
#git clone https://github.com/jimeh/git-aware-prompt.git ~/.bash/git-aware-prompt
#echo "export GITAWAREPROMPT=~/.bash/git-aware-prompt" >> ~/.bashrc
#echo "source \${GITAWAREPROMPT}/main.sh" >> ~/.bashrc
mkdir -p ~/.vim/bundle
mkdir ~/.virtualenvs
cp .vimrc ~/
pip install virtualenv
pip install virtualenvwrapper
pip install autoflake
pip install autoimport
pip install isort
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
echo "export WORKON_HOME=\"$HOME/.virtualenvs\"" >> ~/.bashrc
echo "source ~/.local/bin/virtualenvwrapper.sh" >> ~/.bashrc
vim +PluginInstall +qall
# Debian/Ubuntu terminals (only tested with Ubuntu with gnome/xfce
#echo "export PS1="\${debian_chroot:+\$debian_chroot}\u@\h:\w\[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ "" >> ~/.bashrc
# Arch based distros (only tested with Manjaro with gnome/xfce)
#echo "export PS1=\"\[\033[01;32m\][\u@\h\[\033[0;33m\]\w\[\033[01;32m\]]\$txtcyn\$git_branch\$txtred\$git_dirty\$txtrst\[\033[01;32\]\$\ \""
echo "export PS1=\"\[\033[38;5;11m\]\u\[$(tput sgr0)\]@\h:\[$(tput sgr0)\]\[\033[38;5;6m\][\w]\[$(tput sgr0)\]> \[$(tput sgr0)\]]]\""
echo "COLUMNS=1000" >> ~/.bashrc