diff --git a/.bashrc b/.bashrc index 5afaa8d..215d002 100644 --- a/.bashrc +++ b/.bashrc @@ -96,37 +96,15 @@ if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi +# local bashrc +[ -f ~/.bashrc_$HOSTNAME ] && source ~/.bashrc_$HOSTNAME + # This allows you to bookmark your favorite places across the file system # Define a variable containing a path and you will be able to cd into it regardless of the directory you're in shopt -s cdable_vars # Examples: # export dotfiles="$HOME/dotfiles" -export projects="$HOME/projects" -export elements="$HOME/elements" -export develop="$HOME/elements/develop" - -# ssh using a new window when we are in TMUX -#SSHEXEC=$(which ssh) -#ssh() { -# if [ -n "$TMUX" ] -# then -# title="$*" -# #if [ "$1" = -t ] -# #then -# # title="$2" -# # shift 2 -# #fi -# #if [ "$1" = "stay" ] -# #then -# # "$SSHEXEC $@" -# #else -# tmux new-window -n "$title" "$SSHEXEC $( echo $@ | sed 's/stay//')" -# #fi -# else -# $SSHEXEC $@ -# fi -#} # colorful manpages export LESS_TERMCAP_mb=$'\e[1;32m' diff --git a/.gitignore b/.gitignore index 0c11846..f8c0337 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ .vim/swap .ssh/ +$HOME/.vim/swap +$HOME/.ssh/ diff --git a/create.sh b/create.sh index eff949b..556e245 100755 --- a/create.sh +++ b/create.sh @@ -31,4 +31,7 @@ then fi fi +# create named directory-tree if not existent +mkdir -p $HOME/.vim/swap + create_link .vimrc