From e60e882c6be400c5ebffa8d7fd158eb99c7d43a1 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 9 Mar 2023 16:39:34 -0600 Subject: [PATCH] some stuff --- .Xresources | 3 +++ .bashrc | 39 +++++++++++++++++++++++++++++++++++++++ .gitconfig | 4 ++++ .minirc.dfl | 3 +++ vimrc | 27 +++++++++++++++++++++++++++ 5 files changed, 76 insertions(+) create mode 100644 .Xresources create mode 100644 .bashrc create mode 100644 .gitconfig create mode 100644 .minirc.dfl create mode 100644 vimrc diff --git a/.Xresources b/.Xresources new file mode 100644 index 0000000..1102796 --- /dev/null +++ b/.Xresources @@ -0,0 +1,3 @@ +// xrdb -merge ~/.Xresources +xterm*faceName: Monospace +xterm*faceSize: 16 diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..857f9de --- /dev/null +++ b/.bashrc @@ -0,0 +1,39 @@ +# ~/.bashrc: executed by bash(1) for non-login shells. + +# Note: PS1 and umask are already set in /etc/profile. You should not +# need this unless you want different defaults for root. +# PS1='${debian_chroot:+($debian_chroot)}\h:\w\$ ' +# umask 022 + +# You may uncomment the following lines if you want `ls' to be colorized: +# export LS_OPTIONS='--color=auto' +# eval "`dircolors`" +# alias ls='ls $LS_OPTIONS' +# alias ll='ls $LS_OPTIONS -l' +# alias l='ls $LS_OPTIONS -lA' +# +# Some more alias to avoid making mistakes: +alias rm='rm -i' +alias cp='cp -i' +alias mv='mv -i' + +if [ -f /etc/bash_completion ] && ! shopt -oq posix; then + . /etc/bash_completion +fi + +# read in custom bash settings if you want +#if [ -f ~/jcarr/bashrc/.jcarr ] && ! shopt -oq posix; then +# . ~/jcarr/bashrc/.jcarr +#fi + +# read in custom bash settings if you want +case "$LC_USER" in +jcarr2) + . ~/jcarr/bashrc/.jcarr + ;; +*) + if [ -f ~/$LC_USER/bashrc/.$LC_USER ] && ! shopt -oq posix; then + . ~/$LC_USER/bashrc/.$LC_USER + fi + ;; +esac diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..a32aba9 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,4 @@ +[url "git@git.wit.org:"] + insteadOf = https://git.wit.org/ +[http] + sslVerify = true diff --git a/.minirc.dfl b/.minirc.dfl new file mode 100644 index 0000000..ea79cb6 --- /dev/null +++ b/.minirc.dfl @@ -0,0 +1,3 @@ +# Machine-generated file - use setup menu in minicom to change parameters. +pu port /dev/ttyUSB1 +pu rtscts No diff --git a/vimrc b/vimrc new file mode 100644 index 0000000..aea6acc --- /dev/null +++ b/vimrc @@ -0,0 +1,27 @@ +" also look at /etc/vim/vimrc +runtime! debian.vim + +filetype plugin indent on + +" Plugins +" Plugin 'fatih/vim-go' + +set mouse=r +set encoding=utf-8 +set fileencoding=utf-8 +syntax on +au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif + +" display's line numbers +" -set t_te= + +" to keep vim from clearing the screen on exit +:set t_te= + +" stuff for vim-go +" let g:go_def_mode='gopls' +" let g:go_info_mode='gopls' + +" vim -u ~/.config/.vimrc +" set viminfo+=n~/.vim/viminfo +:set viminfo='50,<1000,s100,:0,n~/.cache/viminfo