From a56b6a121b31b82dcf7279e6eea60bbca1852fc5 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 31 May 2022 14:34:49 +0200 Subject: Sync --- .okshrc | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .okshrc (limited to '.okshrc') diff --git a/.okshrc b/.okshrc new file mode 100644 index 0000000..ac1adbe --- /dev/null +++ b/.okshrc @@ -0,0 +1,46 @@ +export CC=gcc +export EDITOR=vim +export VISUAL=$EDITOR +export TERM=st +export TERMINAL=$TERM +export PAGER=less +export BROWSER=firefox +export SSH_ASKPASS=ssh-askpass +export PS1='[\W] ' + +export LC_CTYPE="en_US.UTF-8" + +export HISTFILE=$HOME/.history +export HISTSIZE=1000000 +export HISTFILESIZE=1000000 +export HISTCONTROL=ignoredups:erasedups + +export LESS='-iMRS -x8' +export CLICOLOR=1 + +export UNCRUSTIFY_CONFIG=$HOME/.uncrustify.cfg + +umask 027 + +alias ls='ls --color=auto' +alias vi='vim' +alias v='vim' +alias zat='setsid -f zathura' + +alias gi='git init' +alias gs='git status' +alias gc='git commit' +alias ga='git add' +alias gp='git push' +alias gd='git diff' +alias gr='git reset' +alias gl='git log' +alias gm='git mv' +alias gch='git checkout' + +set -o noclobber # no > misuse; >| instead +set -o nounset +set -o notify +set -o vi +set -o viraw +set -o posix -- cgit v1.2.3