diff options
| author | Jeff Carr <[email protected]> | 2023-03-09 16:41:01 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-03-09 16:41:01 -0600 |
| commit | 22829c8dce52a1b8d0be032ec423871a3c2047ea (patch) | |
| tree | 499ab422144782cd0c84e10af04d4ace39fedc52 /bashrc | |
| parent | e60e882c6be400c5ebffa8d7fd158eb99c7d43a1 (diff) | |
make a dir for these
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'bashrc')
| -rw-r--r-- | bashrc/.Xresources | 3 | ||||
| -rw-r--r-- | bashrc/.bashrc | 39 | ||||
| -rw-r--r-- | bashrc/.gitconfig | 4 | ||||
| -rw-r--r-- | bashrc/.minirc.dfl | 3 | ||||
| -rw-r--r-- | bashrc/vimrc | 27 |
5 files changed, 76 insertions, 0 deletions
diff --git a/bashrc/.Xresources b/bashrc/.Xresources new file mode 100644 index 0000000..1102796 --- /dev/null +++ b/bashrc/.Xresources @@ -0,0 +1,3 @@ +// xrdb -merge ~/.Xresources +xterm*faceName: Monospace +xterm*faceSize: 16 diff --git a/bashrc/.bashrc b/bashrc/.bashrc new file mode 100644 index 0000000..857f9de --- /dev/null +++ b/bashrc/.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/bashrc/.gitconfig b/bashrc/.gitconfig new file mode 100644 index 0000000..a32aba9 --- /dev/null +++ b/bashrc/.gitconfig @@ -0,0 +1,4 @@ +[url "[email protected]:"] + insteadOf = https://git.wit.org/ +[http] + sslVerify = true diff --git a/bashrc/.minirc.dfl b/bashrc/.minirc.dfl new file mode 100644 index 0000000..ea79cb6 --- /dev/null +++ b/bashrc/.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/bashrc/vimrc b/bashrc/vimrc new file mode 100644 index 0000000..aea6acc --- /dev/null +++ b/bashrc/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 |
