#alias python='/usr/local/bin/python3'
alias git_local='git --git-dir=.git_local'
alias dotfiles='git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
+alias vcbuild='"C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/vcpackages/vcbuild.exe"'
-# alias for genibus
-alias gf='gf.py'
-alias com1='GENIsnus_1_lin_pr_tgm.exe COM1 9600 log 5'
-alias com2='GENIsnus_1_lin_pr_tgm.exe COM2 9600 log 5'
-alias com3='GENIsnus_1_lin_pr_tgm.exe COM3 9600 log 5'
-alias com4='GENIsnus_1_lin_pr_tgm.exe COM4 9600 log 5'
-alias com5='GENIsnus_1_lin_pr_tgm.exe COM5 9600 log 5'
-alias com6='GENIsnus_1_lin_pr_tgm.exe COM6 9600 log 5'
-alias com7='GENIsnus_1_lin_pr_tgm.exe COM7 9600 log 5'
-alias com8='GENIsnus_1_lin_pr_tgm.exe COM8 9600 log 5'
shopt -s nocaseglob;
# Append to the Bash history file, rather than overwriting it
-shopt -s histappend;
+#shopt -s histappend;
# Autocorrect typos in path names when using `cd`
shopt -s cdspell;
set_prompts
unset set_prompts
+# When the shell exits, append to the history file instead of overwriting it
+shopt -s histappend
+# Larger bash history
+export HISTFILESIZE=10000;
+export HISTSIZE=5000;
+export HISTCONTROL=ignoreboth:erasedups
+export HISTIGNORE="ll:ls:cd:cd -:pwd:exit:date:* --help";
# Whenever displaying the prompt, write the previous line to disk
-export PROMPT_COMMAND="history -a";
+export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
* text=auto
# Text files that should be normalized (CRLF => LF)
-*.c text
-*.h text
+#*.c text
+#*.h text
# Text files with fixed EOL=LF
*.sh text eol=LF
excludesfile = ~/.config/git/ignore
attributesFile = ~/.config/git/attributes
editor = vim
- #autocrlf = false
[include]
path = ~/.config/git/config_local
export MANPAGER="less -eFRX"
export BROWSER='lynx -vikeys -use_mouse'
-# Larger bash history (allow 32³ entries; default is 500)
-export HISTSIZE=32768;
-export HISTFILESIZE=$HISTSIZE;
-export HISTCONTROL=ignoreboth;
-export HISTIGNORE="ls:cd:cd -:pwd:exit:date:* --help";
# Prefer US language and UTF-8
export LANG="en_US.UTF-8";
[*]
indent_style = space
indent_size = 2
-end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
+# Windows-style newlines with a newline ending every file
+#end_of_line = crlf
+# Unix-style newlines with a newline ending every file
+#end_of_line = lf
+
+[*.py]
+indent_size = 4
+
+[Makefile]
+indent_style = tab
+
" section: plugins {{{1
" ---------------------
-silent call plug#begin('~/.cache/vim/plugged')
+"silent call plug#begin('~/.cache/vim/plugged')
+call plug#begin('~/.cache/vim/plugged')
"Plug 'tpope/vim-sensible'
"Plug 'tpope/vim-ragtag'
Plug 'tpope/vim-repeat'
endif
" }}}1
-if filereadable(expand('~/.config/vim/vimrc_local'))
- source ~/.config/vim/vimrc_local
+if filereadable(expand('~/.vimrc_local'))
+ source ~/.vimrc_local
endif