* initial commit - dotfiles based on DoomHammer

This commit is contained in:
2023-04-11 17:21:55 +03:00
commit 17ade4a5e4
25 changed files with 1520 additions and 0 deletions

36
.shell-aliases Normal file
View File

@ -0,0 +1,36 @@
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# Source global definitions
test -r /etc/bashrc && . /etc/bashrc
test -r ~/.bash_aliases && . ~/.bash_aliases
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoreboth
export HISTIGNORE="&:ls:[bf]g:pwd:exit:cd .."
# append to the history file, don't overwrite it
shopt -s histappend
PROMPT_COMMAND="history -a;$PROMPT_COMMAND"
# Store multiline commands as one line.
shopt -s cmdhist
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=10000
HISTFILESIZE=20000
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# Spellcheck directories
shopt -s dirspell
# 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).
test -f /usr/share/bash-completion/bash_completion && . /usr/share/bash-completion/bash_completion
test -f /etc/bash_completion && . /etc/bash_completion