Browse Source

Updated several things

master
TeraDyne Ezeri 2 months ago
parent
commit
2f528af141
8 changed files with 159 additions and 86 deletions
  1. +128
    -0
      .bashrc
  2. +6
    -3
      .muttrc
  3. +0
    -9
      .procmailrc
  4. +13
    -10
      .ratpoisonrc
  5. +0
    -5
      .tmux.conf
  6. +0
    -46
      .vimrc
  7. +0
    -13
      .zshrc
  8. +12
    -0
      nanorc

+ 128
- 0
.bashrc View File

@@ -0,0 +1,128 @@
#source /usr/share/powerline/bash/powerline.sh

# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac

export EDITOR="/usr/bin/nano"

# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth

# append to the history file, don't overwrite it
shopt -s histappend

# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar

# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color|*-256color) color_prompt=yes;;
esac

# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_color_prompt=yes

if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
else
color_prompt=
fi
fi

if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
;;
*)
;;
esac

# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'

alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
fi

# colored GCC warnings and errors
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'

# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias ncmpc="ncmpcpp"
alias anonradio="mplayer http://anonradio.net:8000/anonradio"
alias wg="wordgrinder"
alias radio="mplayer -playlist"

# Add an "alert" alias for long running commands. Use like so:
# sleep 10; alert
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi

stty -ixon

neofetch

+ 6
- 3
.muttrc View File

@@ -1,5 +1,3 @@
set realname = "TeraDyne Ezeri"
set from = "codebalion@outlook.com"
set mbox_type=Maildir
set folder=$HOME/mail/
set spoolfile=$HOME/mail/inbox
@@ -7,7 +5,7 @@ set record=$HOME/mail/sent
set postponed=$HOME/mail/drafts
set trash=$HOME/mail/trash
set header_cache = ~/.mailcache
set editor = "vim"
set editor = "nano"
set sort = threads
set edit_headers

@@ -25,3 +23,8 @@ mailboxes =drafts
mailboxes =trash
mailboxes =saved
mailboxes =gemini
mailboxes =lynx-dev
mailboxes =info-gnu
mailboxes =info-nano

set sendmail="msmtp"

+ 0
- 9
.procmailrc View File

@@ -1,9 +0,0 @@
PATH=/usr/bin:/usr/local/bin
MAILDIR=$HOME/mail/
DEFAULT=$HOME/mail/inbox
LOGFILE=$HOME/.procmail.log
SHELL=/bin/sh

:0:
* ^(From|Cc|To).gemini@lists.orbitalfox.eu
gemini

+ 13
- 10
.ratpoisonrc View File

@@ -2,24 +2,27 @@ startup_message off
set winname class

exec xcompmgr -c -f -D 5
exec feh --bg-center --image-bg "black" ~/Pictures/Wallpaper/nsfw/1421588576.supersilverdraco_closeaidoa2.jpg
exec feh --bg-fill --image-bg "black" ~/.wallpaper
exec xscreensaver &

escape Super_L

unbind c
unbind f
unbind i

bind less prev
bind greater next

bind c exec xfce4-terminal
bind C-c exec xfce4-terminal
bind f exec firefox
bind d exec dillo
bind t exec rxvt-unicode
bind C-t exec rxvt-unicode
bind i exec icecat
bind l exec xscreensaver-command -lock
bind g exec steam
bind C-f exec pcmanfm
bind C-q quit

bind C-K delete
bind r restart
bind n nextscreen
bind C-n nextscreen

bind h hsplit
bind v vsplit
bind q only
bind o focus

+ 0
- 5
.tmux.conf View File

@@ -1,6 +1,3 @@
source "/usr/share/tmux/powerline.conf"


# Ctrl-b is a pain to type. Can use backtick. Double ticks to print one.
set-option -g prefix `
unbind-key C-b
@@ -11,8 +8,6 @@ set -s escape-time 0
set-window-option -g automatic-rename off
set-option -g allow-rename off

# This part fixes VIM

set-window-option -g xterm-keys on
set -g default-terminal "xterm-256color"
unbind-key -n C-Left

+ 0
- 46
.vimrc View File

@@ -1,46 +0,0 @@
python3 from powerline.vim import setup as powerline_setup
python3 powerline_setup()
python3 del powerline_setup

set laststatus=2 " Always display the statusline in all windows
set showtabline=2 " Always display the tabline, even if there is only one tab
set noshowmode " Hide the default mode text (e.g. -- INSERT -- below the statusline)
set t_Co=256

set nocompatible
filetype off
syntax on
colorscheme darkblue
hi Normal guibg=NONE ctermbg=NONE
set lbr
set nu
set guioptions-=r
let g:Tex_DefaultTargetFormat = 'pdf'
filetype plugin on


set ssop-=options
set ssop-=folds

nmap <C-j> <C-W>j
nmap <C-k> <C-W>k
nmap <C-h> <C-W>h
nmap <C-l> <C-W>l
nmap <C-o> :bp<CR>
nmap <C-p> :bn<CR>

let g:vimwiki_list = [{'path': '~/vimwiki/', 'ext': 'wiki'},
\ {'path': '~/novelwiki/', 'ext': 'wiki'},
\ {'path': '~/tbcwiki/', 'ext': 'wiki'}]
<<<<<<< HEAD
=======

set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'vimwiki/vimwiki'
Plugin 'ervandew/supertab'
call vundle#end()
filetype plugin indent on
>>>>>>> 5d283b66b498a63b4190ef8d7763ac8786f25a99

+ 0
- 13
.zshrc View File

@@ -1,13 +0,0 @@
# Created by newuser for 5.7.1

export PATH=/home/tezeri/.scripts:/home/tezeri/.local/bin:$PATH

if [ -f `which powerline-daemon` ]; then
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/share/powerline/zsh/powerline.zsh
fi

alias youtube-dl="noglob youtube-dl"
alias ls="ls -la --color=always "

+ 12
- 0
nanorc View File

@@ -0,0 +1,12 @@
include /usr/share/nano/*
set softwrap
set linenumbers
set atblanks
set zap

set titlecolor green,black
set statuscolor green,black
set errorcolor red,black
set numbercolor cyan,black
set keycolor cyan,black


Loading…
Cancel
Save