commit 9897ee20d51c591fb35e9ee217f7971e4c0afcab
parent 6152dd03cb08c7839660fa6312c2678d94da2644
Author: rei <rei@sonu.ch>
Date: Sat, 25 Sep 2021 18:46:04 +0300
some changes
Diffstat:
4 files changed, 102 insertions(+), 4 deletions(-)
diff --git a/.bashrc b/.bashrc
@@ -0,0 +1,57 @@
+# .bashrc
+
+# Source global definitions
+if [ -f /etc/bashrc ]; then
+ . /etc/bashrc
+fi
+
+# User specific environment
+if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
+then
+ PATH="$HOME/.local/bin:$HOME/bin:$PATH"
+fi
+export PATH
+
+# User specific aliases and functions
+if [ -d ~/.bashrc.d ]; then
+ for rc in ~/.bashrc.d/*; do
+ if [ -f "$rc" ]; then
+ . "$rc"
+ fi
+ done
+fi
+
+unset rc
+
+# ENVS
+export BROWSER="firefox"
+export EDITOR="nvim"
+export PAGER="less"
+export QT_STYLE_OVERIDE="GTK+"
+
+# colored GCC warnings and errors
+export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
+
+# prompt
+PS1="\[\033[38;5;10m\]\u@\h\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;12m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\]\n\[$(tput sgr0)\]\[\033[38;5;1m\]λ\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]"
+
+# aliases
+alias ..="cd .."
+alias vim="nvim"
+alias ls='ls --color=auto'
+alias cp="cp -v"
+alias mv="mv -v"
+alias mkdir="mkdir -v"
+alias rm="rm -v"
+alias grep="grep --color"
+alias wg0-on="sudo systemctl start wg-quick@wg0.service"
+alias wg0-off="sudo systemctl stop wg-quick@wg0.service"
+
+# bash-completion
+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
diff --git a/.profile b/.profile
@@ -1,4 +0,0 @@
-export QT_STYLE_OVERIDE=GTK+
-export BROWSER="firefox"
-export EDITOR="nvim"
-export WINEARCH=win32
diff --git a/.vimrc b/.vimrc
@@ -0,0 +1,45 @@
+set nocompatible
+set bs=2
+set tw=72
+set cindent
+set tabstop=4
+set shiftwidth=4
+
+set mouse=a
+
+set nowrapscan
+
+set showmatch
+set showmode
+set uc=0
+" This was causing trouble with the del key in many systems
+" set t_kD=^?
+map ^H X
+map \e[3~ x
+set mousehide
+set hlsearch
+let c_comment_strings=1
+
+" Stop vim autowrapping
+set wrap linebreak textwidth=0 showbreak=>>
+
+" Color for xiterm, rxvt, nxterm, color-xterm :
+if has("terminfo")
+set t_Co=8
+set t_Sf=\e[3%p1%dm
+set t_Sb=\e[4%p1%dm
+else
+set t_Co=8
+set t_Sf=\e[3%dm
+set t_Sb=\e[4%dm
+endif
+
+colorscheme elflord
+
+syntax on
+
+autocmd FileType crontab :set backupcopy=yes
+autocmd FileType crontab :set nobackup
+
+set number
+set cursorline
diff --git a/.walls/1631456850171.jpg b/.walls/1631456850171.jpg
Binary files differ.