Merge branch 'master' of github.com:ntietz/config
This commit is contained in:
commit
5f555b667a
3 changed files with 26 additions and 4 deletions
7
bashrc
7
bashrc
|
@ -1,2 +1,9 @@
|
|||
source ~/.profile
|
||||
|
||||
# something with keyword completion
|
||||
# . /etc/bash_completion
|
||||
if [ -f /etc/bash_completion ]
|
||||
then
|
||||
. /etc/bash_completion
|
||||
fi
|
||||
|
||||
|
|
15
config.sh
Executable file
15
config.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd ~
|
||||
|
||||
rm -f .profile
|
||||
rm -f .bashrc
|
||||
ln -s ~/Repositories/config/profile .profile
|
||||
ln -s ~/Repositories/config/bashrc .bashrc
|
||||
|
||||
rm -f .screenrf
|
||||
ln -s ~/Repositories/config/screenrc .screenrc
|
||||
|
||||
rm -f .vimrc
|
||||
ln -s ~/Repositories/config/vimrc .vimrc
|
||||
|
8
profile
8
profile
|
@ -25,15 +25,12 @@ set_prompt() {
|
|||
PS1="${TITLEBAR}$BLUE[\t]\`$FAILURE_COLOR\` \u@\h> $NO_COLOR"
|
||||
}
|
||||
|
||||
#sets the PS1 prompt
|
||||
# sets the PS1 prompt
|
||||
set_prompt
|
||||
|
||||
# makes ls print pretty
|
||||
alias ls="ls --color=auto"
|
||||
|
||||
# something with keyword completion
|
||||
# . /etc/bash_completion
|
||||
|
||||
# default editor
|
||||
export EDITOR=vim
|
||||
|
||||
|
@ -42,3 +39,6 @@ export HISTSIZE=1000
|
|||
export HISTFILESIZE=1000
|
||||
export HISTCONTROL=ignoredups
|
||||
|
||||
# disable messaging
|
||||
mesg n
|
||||
|
||||
|
|
Loading…
Reference in a new issue