This commit is contained in:
Stian 2025-01-18 17:30:31 +01:00
parent f08f31a736
commit 2a7cb44901
4 changed files with 57 additions and 10 deletions

View File

@ -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"

View File

@ -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

44
.vimrc Executable file
View File

@ -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

View File

@ -1 +1,2 @@
check_certificate = off
hsts=0