hostname bashrc, gitignore dotfiles in $HOME, create $HOME/.vim dir
This commit is contained in:
parent
d693610b79
commit
103f26762c
28
.bashrc
28
.bashrc
|
|
@ -96,37 +96,15 @@ if [ -f /etc/bash_completion ]; then
|
||||||
. /etc/bash_completion
|
. /etc/bash_completion
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# local bashrc
|
||||||
|
[ -f ~/.bashrc_$HOSTNAME ] && source ~/.bashrc_$HOSTNAME
|
||||||
|
|
||||||
# This allows you to bookmark your favorite places across the file system
|
# 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
|
# 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
|
shopt -s cdable_vars
|
||||||
|
|
||||||
# Examples:
|
# Examples:
|
||||||
# export dotfiles="$HOME/dotfiles"
|
# 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
|
# colorful manpages
|
||||||
export LESS_TERMCAP_mb=$'\e[1;32m'
|
export LESS_TERMCAP_mb=$'\e[1;32m'
|
||||||
|
|
|
||||||
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,2 +1,4 @@
|
||||||
.vim/swap
|
.vim/swap
|
||||||
.ssh/
|
.ssh/
|
||||||
|
$HOME/.vim/swap
|
||||||
|
$HOME/.ssh/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user