diff --git a/.bash_profile b/.bash_profile index b513741..db4e85f 100755 --- a/.bash_profile +++ b/.bash_profile @@ -8,22 +8,24 @@ stty erase '^?' echoe # Shell options shopt -s autocd # AutoCD up with '..' shopt -s completion_strip_exe # Strip exe from completion +shopt -s histappend # Append history + +# PATH +export PATH="/usr/sbin:~/bin:$PATH:." # Ignore list for filename completion export FIGNORE=".dll:.cpl" -# Append history -#shopt -s histappend -#PROMPT_COMMAND="history -a;$PROMPT_COMMAND" - -# PATH -export PATH="/usr/sbin:~/bin:$PATH:." +# History control +export HISTCONTROL=ignoreboth:erasedups +#export PROMPT_COMMAND="history -a;$PROMPT_COMMAND" # VARS export TERM="xterm-256color" export DISPLAY="localhost:0.0" export EDITOR="nano" export LESS="-iRM" +export LESSHISTFILE=- export LYNX_CFG="~/.lynx/lynx.cfg" export LANG="en_US.UTF-8" export TZ="Europe/Oslo" diff --git a/.config/mc/ini b/.config/mc/ini index 20cf841..2c2beed 100755 --- a/.config/mc/ini +++ b/.config/mc/ini @@ -102,7 +102,7 @@ menubar_visible=true free_space=true horizontal_split=false vertical_equal=true -left_panel_size=79 +left_panel_size=106 horizontal_equal=true top_panel_size=1 @@ -163,7 +163,7 @@ panel_scroll_center=false simple_swap=false [Panelize] -Modified git files=git ls-files --modified -Find rejects after patching=find . -name \\*.rej -print -Find SUID and SGID programs=find . \\( \\( -perm -04000 -a -perm /011 \\) -o \\( -perm -02000 -a -perm /01 \\) \\) -print Find *.orig after patching=find . -name \\*.orig -print +Modified git files=git ls-files --modified +Find SUID and SGID programs=find . \\( \\( -perm -04000 -a -perm /011 \\) -o \\( -perm -02000 -a -perm /01 \\) \\) -print +Find rejects after patching=find . -name \\*.rej -print diff --git a/.vimrc b/.vimrc new file mode 100755 index 0000000..cce56ae --- /dev/null +++ b/.vimrc @@ -0,0 +1,44 @@ +" No .viminfo +set viminfofile=NONE + +" Don't try to be vi compatible +set nocompatible + +" Turn on syntax highlighting +syntax on + +" Show line numbers +set number + +" Show file stats +set ruler + +" Blink cursor on error instead of beeping (grr) +set visualbell + +" Encoding +set encoding=utf-8 + +" Whitespace +set wrap +set textwidth=79 +set formatoptions=tcqrn1 +set tabstop=2 +set shiftwidth=2 +set softtabstop=2 +set expandtab +set noshiftround + +" Cursor motion +set scrolloff=3 +set backspace=indent,eol,start + +" Rendering +set ttyfast + +" Status bar +set laststatus=2 + +" Last line +set showmode +set showcmd diff --git a/.wgetrc b/.wgetrc index 57ad4de..83896d5 100755 --- a/.wgetrc +++ b/.wgetrc @@ -1 +1,2 @@ check_certificate = off +hsts=0