diff --git a/.bashrc b/.bashrc deleted file mode 100644 index bdc9442..0000000 --- a/.bashrc +++ /dev/null @@ -1,32 +0,0 @@ -# If not running interactively, don't do anything -[[ $- != *i* ]] && return - -################################# -# - bash_aliases -# - bash-completion - -[[ -r ~/.ps1 ]] && . ~/.ps1 - -[[ -r ~/.bash_aliases ]] && . ~/.bash_aliases - -[[ -r /usr/share/bash-completion/bash_completion ]] && . /usr/share/bash-completion/bash_completion - -################################# -# Debian Defaults -# -# don't put duplicate lines or lines starting with space in the history. -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 - -# make less more friendly for non-text input files, see lesspipe(1) -[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" diff --git a/.bashrc b/.bashrc new file mode 120000 index 0000000..a2aec3b --- /dev/null +++ b/.bashrc @@ -0,0 +1 @@ +.void.bashrc \ No newline at end of file diff --git a/.void.bashrc b/.void.bashrc new file mode 100644 index 0000000..2b46ba6 --- /dev/null +++ b/.void.bashrc @@ -0,0 +1,42 @@ +#!/bin/bash + +# +# .void.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +################################# +# - bash_aliases +# - bash-completion + +[[ -r ~/.ps1 ]] && . ~/.ps1 + +[[ -r ~/.bash_aliases ]] && . ~/.bash_aliases + +[[ -r /usr/share/bash-completion/bash_completion ]] && . /usr/share/bash-completion/bash_completion + +[[ -f /usr/share/git/git-prompt.sh ]] && . /usr/share/git/git-prompt.sh + +################################# +# Debian Defaults +# +# don't put duplicate lines or lines starting with space in the history. +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 + +# make less more friendly for non-text input files, see lesspipe(1) +[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" + +complete -cf doas